diff --git a/src/login.c b/src/login.c index 33ab66a..57219ae 100644 --- a/src/login.c +++ b/src/login.c @@ -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);