yii2-usuario icon indicating copy to clipboard operation
yii2-usuario copied to clipboard

Properties `allowPasswordRecovery` and `allowAdminPasswordRecovery` must be undepended

Open bscheshirwork opened this issue 7 years ago • 2 comments

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

bscheshirwork avatar Sep 17 '18 09:09 bscheshirwork

What do you propose @bscheshirwork ? Remove allowPasswordRecovery and allow the admin to control the password reset?

tonydspaniard avatar Sep 19 '18 19:09 tonydspaniard

@tonydspaniard see #252

bscheshirwork avatar Sep 20 '18 14:09 bscheshirwork