diff --git a/pagure/utils.py b/pagure/utils.py index 1485452..f58057a 100644 --- a/pagure/utils.py +++ b/pagure/utils.py @@ -49,7 +49,7 @@ def is_safe_url(target): # pragma: no cover def is_admin(): """ Return whether the user is admin for this application or not. """ - if not flask.g.authenticated: + if not authenticated(): return False user = flask.g.fas_user