Skip to content

Commit

Permalink
Fix wrong _ function reference in user blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 31, 2019
1 parent 986e1ca commit 42afcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/views/user.py
Expand Up @@ -78,7 +78,7 @@ def before_request():
context = dict(model=model, user=g.user, auth_user_obj=g.userobj)
logic.check_access(u'site_read', context)
except logic.NotAuthorized:
_, action = plugins.toolkit.get_endpoint()
blueprint, action = plugins.toolkit.get_endpoint()
if action not in (
u'login',
u'request_reset',
Expand Down

0 comments on commit 42afcbe

Please sign in to comment.