浏览代码

忘记密码修复

chenjunkai 7 年之前
父节点
当前提交
6fb1569108
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/UserController.py

+ 1 - 1
Controller/UserController.py

@@ -464,7 +464,7 @@ class ForgetPwdView(TemplateView):
         was_limited = getattr(request, 'limited', False)
         was_limited = getattr(request, 'limited', False)
         if was_limited is True:
         if was_limited is True:
             return response.json(5)
             return response.json(5)
-        return self.ValidationError(userName)
+        return self.ValidationError(userName,response)
 
 
     def ValidationError(self, userName, response):
     def ValidationError(self, userName, response):