From 8e1d8309da443438b90030fbc94bd97296ff3122 Mon Sep 17 00:00:00 2001 From: ASPP Student Date: Mon, 26 Aug 2024 15:05:41 +0300 Subject: [PATCH] not leak usernames --- auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth.py b/auth.py index 1559a08..410ff3c 100644 --- a/auth.py +++ b/auth.py @@ -39,10 +39,10 @@ if __name__ == "__main__": else: username, password = get_credentials() if username not in pwdb: - print('Wrong username!') + print('Wrong username or password!') else: if authenticate(username, password, pwdb): print('Successfully authenticated!') else: - print('Wrong password!') + print('Wrong username or password!')