mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
unlockDialog: Support request type of REUSE_USERNAME
The unlock dialog currently fails to reuse the username, when requested to do so. This commit fixes that.
This commit is contained in:
parent
81d1903c4d
commit
ec6f4da20d
1 changed files with 1 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ export const UnlockDialog = GObject.registerClass({
|
|||
|
||||
_onReset(authPrompt, beginRequest) {
|
||||
let userName;
|
||||
if (beginRequest === AuthPrompt.BeginRequestType.PROVIDE_USERNAME) {
|
||||
if (beginRequest !== AuthPrompt.BeginRequestType.DONT_PROVIDE_USERNAME) {
|
||||
this._authPrompt.setUser(this._user);
|
||||
userName = this._userName;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue