code: def change_user_password(user, password):
      
      user.password = hash_password(password)
      _datastore.put(user)
      send_password_changed_notice(user)
      password_changed.send(current_app._get_current_object(),
                            user=user)
docs: Change the specified user's password
  
      :param user: The user to change_password
      :param password: The unhashed new password