mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 03:34:54 +00:00
clear password instead of free
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user