diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-09-04 13:01:31 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-09-04 13:01:31 -0500 |
commit | 30ad390074ced0117015d5b3b7b8bdf96ae193ac (patch) | |
tree | 43a3812a0ca3fcaf4cb3add2ec5c5ae04e78840e | |
parent | 5aa3c32d71d0a6fa431c72fdf40dbcf15f63c24f (diff) | |
download | epiphany-30ad390074ced0117015d5b3b7b8bdf96ae193ac.tar.gz |
Revert "ephy: Hook menu also for one user"
This reverts commit 1e45efe7d788fc2e8ba673420a3563b11bb9560d.
-rw-r--r-- | embed/web-process-extension/resources/js/ephy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/web-process-extension/resources/js/ephy.js b/embed/web-process-extension/resources/js/ephy.js index 0b787d4f5..456d7c39e 100644 --- a/embed/web-process-extension/resources/js/ephy.js +++ b/embed/web-process-extension/resources/js/ephy.js @@ -475,8 +475,8 @@ Ephy.FormManager = class FormManager if (formAuth.usernameNode) { Ephy.passwordManager.queryUsernames(formAuth.origin).then(users => { - if (users.length) { - Ephy.log('At least one saved username, hooking menu for selection'); + if (users.length > 1) { + Ephy.log('More than one saved username, hooking menu for choosing which one to select'); if (!this._preFillUserMenu) this._preFillUserMenu = new Ephy.PreFillUserMenu(this, formAuth, users); } |