This project is archived and is in readonly mode.
Changeset [3e237522366e4b5b5811f9436a58de99d8b12542] by Aaron Patterson
Revision 3e237522366e4b5b5811f9436a58de99d8b12542,
committed by Aaron Patterson
· April 14th, 2011 @ 10:54 PM
bcrypt will encrypt anything, so validate_presence_of would not
catch nil / blank passwords. Thank you to Aleksander Kamil
Modzelewski for reporting this
https://github.com/rails/rails/commit/3e237522366e4b5b5811f9436a58d...
2 changed files
-
M
activemodel/lib/active_model/secure_password.rb -
M
activemodel/test/cases/secure_password_test.rb