mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-07 02:31:49 +00:00
clear password instead of free
This commit is contained in:
1 parent
825544f7e2
commit
915ebd442f
1 file changed
+1
-2
+1
-2
@@ -513,8 +513,7 @@ void auth(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear the credentials
|
// clear the credentials
|
||||||
input_text_free(password);
|
input_text_clear(password);
|
||||||
input_text(password, config.max_password_len);
|
|
||||||
|
|
||||||
// get passwd structure
|
// get passwd structure
|
||||||
struct passwd* pwd = getpwnam(login->text);
|
struct passwd* pwd = getpwnam(login->text);
|
||||||
|
|||||||
Reference in new issue
Block a user