typo
This commit is contained in:
parent
1229903dcc
commit
b08d6a3f97
@ -58,7 +58,7 @@ def login(request):
|
||||
form = forms.UserCredential(initial={'service':service,'method':method,'warn':request.session.get("warn")})
|
||||
|
||||
# if authenticated and successfully renewed authentication if needed
|
||||
if request.session.get("authenticated") request.session.get("username") and (not renew or renewed):
|
||||
if request.session.get("authenticated") and request.session.get("username") and (not renew or renewed):
|
||||
try:
|
||||
user = models.User.objects.get(username=request.session["username"])
|
||||
except models.User.DoesNotExist:
|
||||
|
Loading…
Reference in New Issue
Block a user