This project is archived and is in readonly mode.

Changeset [3e237522366e4b5b5811f9436a58de99d8b12542] 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...

Committed by Aaron Patterson

  • M activemodel/lib/active_model/secure_password.rb
  • M activemodel/test/cases/secure_password_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>