Use javascript to send the actual password reset
Fixes #7574 During some refactoring the event linked to password reset got removed. This ment that we just submitted a normal POST but without the CSRF token. And none of the js magic to redirect afterwards. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
e550a3ddd8
commit
cdaf99cf58
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ OC.Lostpassword = {
|
|||
$('#lost-password').click(OC.Lostpassword.resetLink);
|
||||
$('#lost-password-back').click(OC.Lostpassword.backToLogin);
|
||||
$('form[name=login]').submit(OC.Lostpassword.onSendLink);
|
||||
$('#reset-password #submit').click(OC.Lostpassword.resetPassword);
|
||||
OC.Lostpassword.resetButtons();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue