code: def get_user(email, password, *args, **kwargs):
      
      user = datastore.find_user(email=email)
      if user and user.active and verify_password(password, user.password):
          return user
docs: Get user for grant type password.
  
      Needed for grant type 'password'. Note, grant type password is by default
      disabled.
  
      :param email: User email.
      :param password: Password.
      :returns: The user instance or ``None``.