def post(self, reset_token):
     post_data = request.json
     post_data.update(dict(reset_key=reset_token))
     return Auth.reset_password(data=post_data)
示例#2
0
 def post(self) -> Tuple[Dict[str, str], int]:
     # get auth token
     post_data = request.json
     return Auth.reset_password(data=post_data)