diff options
Diffstat (limited to 'apps/user_ldap/js/renewPassword.js')
-rw-r--r-- | apps/user_ldap/js/renewPassword.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/js/renewPassword.js b/apps/user_ldap/js/renewPassword.js index 307d5f8294d..bd035cd70be 100644 --- a/apps/user_ldap/js/renewPassword.js +++ b/apps/user_ldap/js/renewPassword.js @@ -2,7 +2,7 @@ * * @copyright Copyright (c) 2016, Roger Szabo (roger.szabo@web.de) * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -32,7 +32,7 @@ OCA.LDAP = _.extend(OC.LDAP || {}, { window.addEventListener('DOMContentLoaded', function() { $('form[name=renewpassword]').submit(OCA.LDAP.onRenewPassword); - + if($('#newPassword').length) { $('#newPassword').showPassword().keyup(); } |