mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-09 15:19:13 +02:00
clear password instead of free
This commit is contained in:
parent
825544f7e2
commit
915ebd442f
1 changed files with 1 additions and 2 deletions
|
|
@ -513,8 +513,7 @@ void auth(
|
|||
}
|
||||
|
||||
// clear the credentials
|
||||
input_text_free(password);
|
||||
input_text(password, config.max_password_len);
|
||||
input_text_clear(password);
|
||||
|
||||
// get passwd structure
|
||||
struct passwd* pwd = getpwnam(login->text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue