Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2020-10-09 21:10:27 +0300
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-10-10 15:53:23 +0300
commitcb68bcef0fcf8c26fb79731031fabfcaf7433f45 (patch)
treefaeae5fb52e1d2c29b65731b115135419d883b3f /core/src
parent2ec160aec8ec8d67e8cc42d9f2a83406768b7b6d (diff)
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.js5
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()
})