Commit a7b870a0 authored by Martin Mareš's avatar Martin Mareš
Browse files

Fixed bug in caching of full name in sessions

parent 2e4d6008
......@@ -1392,7 +1392,7 @@ def session_from_cas(user, attrs):
def session_from_db(row):
session['uid'] = row.uid
session['name'] = full_name(row),
session['name'] = full_name(row)
if row.is_admin:
session['admin'] = 1
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment