3 ms·
How are you storing passwords? It is complaining that the password I'm trying to use is too long (>20 chars). If you're storing a hash, there's no point in havi
by mike-cardwell 16y ago
How are you storing passwords? It is complaining that the password I'm trying to use is too long (>20 chars). If you're storing a hash, there's no point in having any max length limit... If you're storing it plain text, then you're doing it wrong.
- sr3d 16y agoI'm using Devise, an authentication plugin for Rails, to handle the user registration. The default max length for the password is 20 characters, but I've bumped this up to 40 to be on the safe side. I'll deploy this change later in a bit. Thanks!