

def get_user_identity(self, env, login, password):
    user = self.get_query(env, login).first()
    if (user is not None):
        stored_password = getattr(user, self._password_field)
        if check_password(env, stored_password):
            return user.id
    return None

dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/auth.py SqlaModelAuth.get_user_identity/VarMisuse@55/65 `password`->`env`