diff options
Diffstat (limited to 'django/srpproject/srp')
-rw-r--r-- | django/srpproject/srp/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/srpproject/srp/views.py b/django/srpproject/srp/views.py index 1ad98dc..4200e8c 100644 --- a/django/srpproject/srp/views.py +++ b/django/srpproject/srp/views.py @@ -116,6 +116,7 @@ def verify(request): response = "<M>%s</M>" % hashlib.sha256("%s%s%s" % (request.session["srp_A"], request.session["srp_M"], request.session["srp_S"])).hexdigest() auth.login(request, user) else: + # This should only happen when authentication is successful with SRP, but the user isn't in the auth table. response = "<error>Authentication failed. This is likely a server problem.</error>" else: response = "<error>Invalid username or password.</error>" |