nineinchnick / yii2-usr

Yii framework module for user authentication, password reset, registration and profile updating. A port of yii-usr to Yii Framework 2.0.
http://demo2.niix.pl
MIT License
39 stars 8 forks source link

Changing email should require password #3

Closed nineinchnick closed 10 years ago

nineinchnick commented 10 years ago

In profile update if a user wants to change his email this action should require the current password, same as for updating current password.

How to validate this when the password and email are in two separate forms?

A matching issue in nineinchnick/yii-usr should be created.