demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

Password Reset notify is not send #1702

Closed demianturner closed 11 years ago

demianturner commented 11 years ago

When a user changes his password and checks the "Notify me by email" checkbox the email is not send.

I think the reason fot this is: UserPasswordMrg.php line 80 checks for value='on': $input->passwdResetNotify = ($req->get('frmPasswdResetNotify') == 'on') ? 1 : 0;

But the form userPasswordEdit puts value='1': <input id="frmPasswdResetNotify" type="checkbox" name="frmPasswdResetNotify" value="1" />

To correct this both values should be 'on' or '1'.

demianturner commented 11 years ago

[demian](In [4328]) fixing passwd reset notify prob, fixes #1702