nextcloud/core
Daniel Calviño Sánchez 58d00bf6fb Fix password displayed as username in Firefox password manager dialog
When finishing the setup of Nextcloud through the WebUI (setting admin
user and database) Firefox offers to save the username and password.
However, the password was shown in both the username and password fields
of the Firefox password manager dialog.

The problem was that the password input element (in the HTML form) is
cloned in a text input element, which is used to show the password in
plain text when clicking on the "Show password" button. As it was a text
input immediately followed by a password input Firefox seemed to assume
that it had to be the username and ignored the real username field, no
matter the value set for the "autocomplete" attribute. Now the cloned
text input is added after the password input, so Firefox no longer
thinks that the cloned text input is the username field and the password
manager dialog shows the proper username instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-05 02:45:34 +01:00
..
Command Merge pull request #7517 from nextcloud/add-index-to-share-table 2017-12-18 22:23:53 +01:00
Controller Clear login token once apppassword is generated 2018-01-04 14:30:40 +01:00
Middleware Update license headers 2017-11-06 16:56:19 +01:00
Migrations add index for share_with table for newly created tables 2017-12-18 21:14:45 +01:00
ajax Get the Installer via DI 2017-11-25 12:00:57 +01:00
css Fix popover shadow in app menu 2018-01-04 12:33:10 +01:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
fonts move font back from Light to Regular for body text on normal-res screens, fix #18954 2015-11-10 16:12:42 +01:00
img Merge pull request #6670 from nextcloud/handle-encryption-state-in-web-interface 2017-12-06 16:19:17 +01:00
js Fix password displayed as username in Firefox password manager dialog 2018-01-05 02:45:34 +01:00
l10n [tx-robot] updated from transifex 2018-01-04 09:48:31 +00:00
search Move checkboxes to their own column 2017-10-19 01:46:13 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
templates Remove css invert since we are using svg filters for now 2018-01-03 14:42:08 +01:00
vendor Force the drag to end when the navigation bar Snap is disabled by an app 2017-12-14 21:42:39 +01:00
Application.php Update license headers 2017-11-06 16:56:19 +01:00
register_command.php make occ command more generic 2017-12-18 21:14:45 +01:00
routes.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00
shipped.json Add missing version requirement to OAuth2 app 2017-05-22 09:56:49 +02:00
strings.php Update with robin 2016-07-21 18:13:58 +02:00