luckyframework / authentic

An authentication library for Lucky projects
MIT License
14 stars 13 forks source link

Allow encrypted_password to be nil #38

Closed paulcsmith closed 4 years ago

paulcsmith commented 4 years ago

Related to #27

The problem with enforcing encrypted_password was that if you wanted to have email/password sign in and/or some other social sign in then it would not work. You'd have to set "encrypted_password" to "fake" or some other hack.

This update makes it so you can make encrypted_password nil if you want.