We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5509e8d commit 40a3590Copy full SHA for 40a3590
ocfweb/login/ocf.py
@@ -6,6 +6,7 @@
6
7
import ocflib.account.utils as utils
8
import ocflib.account.validators as validators
9
+import ocflib.account.search as search
10
from django import forms
11
from django.http import HttpRequest
12
from django.http import HttpResponse
@@ -45,7 +46,7 @@ def login(request: HttpRequest) -> Union[HttpResponseRedirect, HttpResponse]:
45
46
47
try:
48
if (
- validators.user_exists(username) and not
49
+ search.user_exists(username) and not
50
user_is_sorried(username) and
51
utils.password_matches(username, password)
52
):
0 commit comments