user-accounts: allow password changing if old password is empty
https://bugzilla.gnome.org/show_bug.cgi?id=733619
This commit is contained in:
parent
f904756f74
commit
0aff10e509
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ old_password_entry_timeout (UmPasswordDialog *um)
|
|||
update_sensitivity (um);
|
||||
|
||||
text = gtk_entry_get_text (GTK_ENTRY (um->old_password_entry));
|
||||
if (strlen (text) > 0 && !um->old_password_ok) {
|
||||
if (!um->old_password_ok) {
|
||||
passwd_authenticate (um->passwd_handler, text, (PasswdCallback)auth_cb, um);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue