clear password instead of free

This commit is contained in:
cylgom
2020-02-03 08:39:15 +01:00
parent 2892559ea2
commit 8b5ad0b1b1

View File

@@ -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);