Merge pull request #10735 from nextcloud/forgotten-pass-fix-link

[stable13] Forgotten pass fix link
This commit is contained in:
Morris Jobke 2018-08-20 14:47:03 +02:00 committed by GitHub
commit 8d41d0066a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);