1 2 3 4 5 6
def check_password(environ, user, password): if user == 'spy': if password == 'secret': return 'grumpy' return False return None