Skip to content

Commit

Permalink
Fixes #4247
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Troupel authored and tino097 committed Nov 29, 2018
1 parent 9a2d099 commit 27f2ab3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ckan/views/__init__.py
Expand Up @@ -98,8 +98,12 @@ def identify_user():
if authenticators:
for item in authenticators:
item.identify()
if g.user:
break
try:
if g.user:
break
except AttributeError:
continue


# We haven't identified the user so try the default methods
if not getattr(g, u'user', None):
Expand Down

0 comments on commit 27f2ab3

Please sign in to comment.