chenjunkai 6 years ago
parent
commit
1a03764198
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Controller/UserController.py

+ 0 - 2
Controller/UserController.py

@@ -486,8 +486,6 @@ class ForgetPwdView(TemplateView):
         elif dataValid.email_validate(userName):
             User = Device_User.objects.filter(username=userName)
             if not User.exists():
-                pass
-            else:
                 User = Device_User.objects.filter(userEmail=userName)
         else:
             return response.json(9)