Browse Source

Bugfix

sisyphus
JezerM 4 years ago
parent
commit
838541a910
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 3
      themes/dracula/js/authenticate.js

3
themes/dracula/js/authenticate.js vendored

@ -18,7 +18,7 @@ class Authenticate {
}) })
} }
_respond() { async _respond() {
let inputUser = document.querySelector("#input-username") let inputUser = document.querySelector("#input-username")
let inputPass = document.querySelector("#input-password") let inputPass = document.querySelector("#input-password")
inputUser.blur(); inputUser.disabled = true; inputUser.blur(); inputUser.disabled = true;
@ -26,6 +26,7 @@ class Authenticate {
lightdm.cancel_authentication() lightdm.cancel_authentication()
lightdm.authenticate(String(this._username)) lightdm.authenticate(String(this._username))
await wait(1000)
lightdm.respond(this._password) lightdm.respond(this._password)
} }

Loading…
Cancel
Save