mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.28k stars 88 forks source link

Add README documentation explaining how to support non-int database primary keys #92

Closed anaulin closed 3 years ago

anaulin commented 3 years ago

This PR documents a workaround for non-int authenticatable primary keys, as discussed in https://github.com/mikker/passwordless/issues/91 .

Let me know what you think, and feel free to edit directly. 🙏

anaulin commented 3 years ago

@mikker I incorporated your suggestions, and added a note about add_reference, as @foamer suggested. Please have another look.

mikker commented 3 years ago

Very nice, thank you for helping out! 💙💚💛💜❤️