Skip to content

Commit ea2650e

Browse files
committed
client expects userid, not username
1 parent 897ab33 commit ea2650e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

h/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def profile(request, authority=None):
4040
userid = request.authenticated_userid
4141

4242
if not userid:
43-
userid = user.username
43+
userid = user.userid
4444

4545
return dict(
4646
{

0 commit comments

Comments
 (0)