コード例 #1
0
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
コード例 #2
0
ファイル: link.py プロジェクト: silassakwa/Python-project1
def login_user(username, password):

    check_user = Credentials.verify_user(username, password)
    return check_user
コード例 #3
0
def login_user(password, username):
    '''
    a fumction that checks if the users already exist 
    '''
    checked_user = Credentials.verify_user(password, username)
    return checked_user