diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-07 16:59:12 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-07 16:59:12 -0600 |
commit | f1c4f4c02051a722c6685d2cf7da277c793486d3 (patch) | |
tree | b0d386f623ec24367debcbd4fb1fe2ff2dec5459 /core/templates | |
parent | 5e4bbb394cb02413e38d5694dd3c3c479b70a392 (diff) | |
download | nextcloud-server-f1c4f4c02051a722c6685d2cf7da277c793486d3.tar.gz nextcloud-server-f1c4f4c02051a722c6685d2cf7da277c793486d3.zip |
Rename database password toggle
* otherwise submitting the form with the password show will be overwritten
* see https://github.com/nextcloud/server/blob/2c9d7eeb763d2f907eea8234f6c60a829a5d39f7/core/Controller/SetupController.php#L59
* seems to be a legacy fallback
* fixes #3381
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/installation.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index 2f645454128..058049d8946 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -108,13 +108,13 @@ script('core', [ autocomplete="off" autocapitalize="off" autocorrect="off"> </p> <p class="groupmiddle"> - <input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword" + <input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword-toggle" placeholder="<?php p($l->t( 'Database password' )); ?>" value="<?php p($_['dbpass']); ?>" autocomplete="off" autocapitalize="off" autocorrect="off"> <label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label> - <input type="checkbox" id="dbpassword" name="dbpassword"> - <label for="dbpassword"></label> + <input type="checkbox" id="dbpassword-toggle" name="dbpassword-toggle"> + <label for="dbpassword-toggle"></label> </p> <p class="groupmiddle"> <label for="dbname" class="infield"><?php p($l->t( 'Database name' )); ?></label> |