def login_user(username, password): """ function that checks whether a user exist and then login the user """ check_user = Credentials.verify_user(username, password) return check_user
def login_user(username, password): check_user = Credentials.verify_user(username, password) return check_user
def login_user(password, username): ''' a fumction that checks if the users already exist ''' checked_user = Credentials.verify_user(password, username) return checked_user