Open bscheshirwork opened 5 years ago
If allowPasswordRecovery = true the admin can't reset user password. This is terrible.
allowPasswordRecovery = true
Display "reset" button any time if allowAdminPasswordRecovery = true
allowAdminPasswordRecovery = true
!$module->allowPasswordRecovery && $module->allowAdminPasswordRecovery
https://github.com/2amigos/yii2-usuario/blob/23b95160547be5ecdd671581373e9ca071bbb774/src/User/resources/views/admin/index.php#L154-L171
What do you propose @bscheshirwork ? Remove allowPasswordRecovery and allow the admin to control the password reset?
allowPasswordRecovery
@tonydspaniard see #252
What steps will reproduce the problem?
If
allowPasswordRecovery = true
the admin can't reset user password. This is terrible.What is the expected result?
Display "reset" button any time if
allowAdminPasswordRecovery = true
What do you get instead?
!$module->allowPasswordRecovery && $module->allowAdminPasswordRecovery
https://github.com/2amigos/yii2-usuario/blob/23b95160547be5ecdd671581373e9ca071bbb774/src/User/resources/views/admin/index.php#L154-L171