aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/secure_password.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix example code in documentation for has_secure_passwordAaron Beckerman2012-01-281-1/+1
|
* fix a typo and slightly reword has_secure_password commentVijay Dev2011-10-171-2/+2
|
* Add comments about bcrypt-ruby gem to SecurePasswordGuillermo Iguaran2011-09-031-0/+6
|
* Remove hard dependency on bcrypt.Guillermo Iguaran2011-09-021-2/+3
|
* Remove superfluous whitespace from ActiveModel::SecurePassword Daniel Schierbeck2011-05-221-1/+1
| | | Only one space is needed, yo!
* bcrypt will encrypt anything, so validate_presence_of would not catch nil / ↵Aaron Patterson2011-04-141-1/+3
| | | | blank passwords. Thank you to Aleksander Kamil Modzelewski for reporting this
* Declaring the attr_accessor for password_confirmation is not necessaryBrian Cardarella2011-04-141-2/+1
| | | | as the confirmation validation already adds that attr_accessor
* Override attributes_protected_by_default when has_secure_password is called.Tsutomu Kuroda2011-02-091-2/+6
| | | | | | | attr_protected should not be called, because it nullifies the mass assignment protection that has been set by attr_accessible. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Instance methods shouldnt be added until you actually call has_secure_passwordDavid Heinemeier Hansson2010-12-291-11/+15
|
* Remove require AS::Concern from places where is already inSantiago Pastorino2010-12-191-1/+0
|
* Remove weak_passwords list and the length/strong password validator, leave ↵Santiago Pastorino2010-12-191-31/+6
| | | | that up to the programmer
* Use class_attribute to ensure weak_passwords are inheritable.José Valim2010-12-191-18/+8
|
* Add set_weak_passwords call in alignment with set_table_name.Mikel Lindsaar2010-12-191-5/+11
|
* Fix incorrect docsMikel Lindsaar2010-12-191-3/+1
|
* Added ability to specify which passwords you want as weak passwordsMikel Lindsaar2010-12-191-6/+25
|
* 'unsecure' => 'insecure'José Valim2010-12-191-1/+1
|
* Make password messages translatable.José Valim2010-12-191-2/+2
|
* Add missing require and remove extra module.José Valim2010-12-191-20/+19
|
* Avoid warnings and fix small typo on SecurePassword.José Valim2010-12-191-3/+3
|
* BCrypt does its own salting, lovely!David Heinemeier Hansson2010-12-181-12/+11
|
* Switch from SHA2 to BCrypt (easy Windows compatibility is coming shortly ↵David Heinemeier Hansson2010-12-181-7/+7
| | | | with new compiled gem)
* Added ActiveRecord::Base#has_secure_password (via ↵David Heinemeier Hansson2010-12-181-0/+73
ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting