[gnome-control-center/users-dont-autofill-generated-passwd] user-accounts: Don't fill verification entry for generated passwords



commit 817cb64b3177fc2e8cd6fa4fc4eb0483ba485ce0
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Jan 6 15:58:49 2020 +0100

    user-accounts: Don't fill verification entry for generated passwords
    
    Users can generate passwords while creating a new account or when
    changing their existing account's password. The verification entry
    is a security measure to make sure users didn't confuse their
    passwords and get locked out of their accounts. For this reason,
    it is important that users physically type the generated password,
    to make sure they are able to login using it subsequently.
    
    Fixes #827

 panels/user-accounts/cc-add-user-dialog.c | 1 -
 panels/user-accounts/cc-password-dialog.c | 1 -
 2 files changed, 2 deletions(-)
---
diff --git a/panels/user-accounts/cc-add-user-dialog.c b/panels/user-accounts/cc-add-user-dialog.c
index 07c1edfdb..32189fe03 100644
--- a/panels/user-accounts/cc-add-user-dialog.c
+++ b/panels/user-accounts/cc-add-user-dialog.c
@@ -691,7 +691,6 @@ local_password_entry_icon_press_cb (CcAddUserDialog *self)
                 return;
 
         gtk_entry_set_text (self->local_password_entry, pwd);
-        gtk_entry_set_text (self->local_verify_entry, pwd);
         gtk_entry_set_visibility (self->local_password_entry, TRUE);
         gtk_widget_set_sensitive (GTK_WIDGET (self->local_verify_entry), TRUE);
 
diff --git a/panels/user-accounts/cc-password-dialog.c b/panels/user-accounts/cc-password-dialog.c
index b199999c0..7380f171e 100644
--- a/panels/user-accounts/cc-password-dialog.c
+++ b/panels/user-accounts/cc-password-dialog.c
@@ -421,7 +421,6 @@ password_entry_icon_press_cb (CcPasswordDialog *self)
                 return;
 
         gtk_entry_set_text (self->password_entry, pwd);
-        gtk_entry_set_text (self->verify_entry, pwd);
         gtk_entry_set_visibility (self->password_entry, TRUE);
         gtk_widget_set_sensitive (GTK_WIDGET (self->verify_entry), TRUE);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]