Merge pull request #7576 from nextcloud/fix_7574
Use javascript to send the actual password reset
This commit is contained in:
commit
b6fcf59881
|
@ -16,6 +16,7 @@ OC.Lostpassword = {
|
||||||
$('#lost-password').click(OC.Lostpassword.resetLink);
|
$('#lost-password').click(OC.Lostpassword.resetLink);
|
||||||
$('#lost-password-back').click(OC.Lostpassword.backToLogin);
|
$('#lost-password-back').click(OC.Lostpassword.backToLogin);
|
||||||
$('form[name=login]').submit(OC.Lostpassword.onSendLink);
|
$('form[name=login]').submit(OC.Lostpassword.onSendLink);
|
||||||
|
$('#reset-password #submit').click(OC.Lostpassword.resetPassword);
|
||||||
OC.Lostpassword.resetButtons();
|
OC.Lostpassword.resetButtons();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue