summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views/accounts.py
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/views/accounts.py')
-rw-r--r--hyperkitty/views/accounts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyperkitty/views/accounts.py b/hyperkitty/views/accounts.py
index b81583f..2c68315 100644
--- a/hyperkitty/views/accounts.py
+++ b/hyperkitty/views/accounts.py
@@ -48,6 +48,7 @@ def user_logout(request):
def user_login(request, template='login.html'):
+ user = None
parse_r = urlparse(request.META.get('HTTP_REFERER', 'index'))
previous = '%s%s' % (parse_r.path, parse_r.query)