Merge pull request #10325 from nextcloud/lost-password-ldap-fix
Do not bind reset password link if an url is set
This commit is contained in:
commit
5edf36dc53
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ OC.Lostpassword = {
|
|||
resetErrorMsg : t('core', 'Password can not be changed. Please contact your administrator.'),
|
||||
|
||||
init : function() {
|
||||
$('#lost-password').click(OC.Lostpassword.resetLink);
|
||||
$('#lost-password[href=""]').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);
|
||||
|
|
Loading…
Reference in a new issue