mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
5d93ef8f45
If the confirmation was blank, but the password wasn't, it would still save.
10 lines
421 B
Markdown
10 lines
421 B
Markdown
* Fix regression in has_secure_password. When a password is set, but a
|
|
confirmation is an empty string, it would incorrectly save.
|
|
|
|
*Steve Klabnik* and *Phillip Calvin*
|
|
|
|
* Deprecate `Validator#setup`. This should be done manually now in the validator's constructor.
|
|
|
|
*Nick Sutterer*
|
|
|
|
Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/activemodel/CHANGELOG.md) for previous changes.
|