auth/login.py
def password_is_not_common(password):
    """Check password against a list of common passwords"""
    with open('commonPasswords.txt', 'r') as f:
        for line in f:
            if line == password:
                return False
    return True
Check password against a list of common passwords
Check password against a list of common passwords
Check password against a list of common passwords
def password_is_not_common(password):
    with open('commonPasswords.txt', 'r') as f:
        for line in f:
            if line == password:
                return False
    return True
def password_is_not_common ( password ) : with open ( 'commonPasswords.txt' , 'r' ) as f : for line in f : if line == password : return False return True
Check password against a list of common passwords
Check password against a list of common passwords
"""Check password against a list of common passwords"""
password