diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2020-10-09 20:10:27 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-10-10 12:53:23 +0000 |
commit | cb68bcef0fcf8c26fb79731031fabfcaf7433f45 (patch) | |
tree | faeae5fb52e1d2c29b65731b115135419d883b3f /core/src | |
parent | 2ec160aec8ec8d67e8cc42d9f2a83406768b7b6d (diff) | |
download | nextcloud-server-cb68bcef0fcf8c26fb79731031fabfcaf7433f45.tar.gz nextcloud-server-cb68bcef0fcf8c26fb79731031fabfcaf7433f45.zip |
Fix password visibility toggles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/install.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/install.js b/core/src/install.js index c89380bed58..a25945e7591 100644 --- a/core/src/install.js +++ b/core/src/install.js @@ -3,6 +3,8 @@ import { translate as t } from '@nextcloud/l10n' import { getToken } from './OC/requesttoken' import getURLParameter from './Util/get-url-parameter' +import './jquery/showpassword' + import 'jquery-ui/ui/widgets/button' import 'jquery-ui/themes/base/theme.css' import 'jquery-ui/themes/base/button.css' @@ -134,4 +136,7 @@ window.addEventListener('DOMContentLoaded', function() { drawTitles: true, nonce: btoa(getToken()), }) + + $('#dbpass').showPassword().keyup() + $('#adminpass').showPassword().keyup() }) |