Files
iap1-labs/lab4/app/model/account.py
T
hellisabove 35893a4012 adaugat lab4 si lab5
Signed-off-by: hellisabove <robertnedela15@gmail.com>
2026-05-25 11:13:40 +03:00

13 lines
264 B
Python

""" Data model for user accounts """
ACCOUNTS = {
"admin@example.com": "h4ckm3",
}
def check_login(email, password):
""" Checks whether the specified credentials are valid """
if ACCOUNTS.get(email) == password:
return True
return False