diff --git a/pagure/api/project.py b/pagure/api/project.py index c1fcc1e..3f15ee7 100644 --- a/pagure/api/project.py +++ b/pagure/api/project.py @@ -226,7 +226,7 @@ def api_project_git_urls(repo, username=None, namespace=None): git_urls = {} git_url_ssh = pagure_config.get('GIT_URL_SSH') - if pagure.utils.authenticated() and git_url_ssh: + if pagure.utils.api_authenticated() and git_url_ssh: try: git_url_ssh = git_url_ssh.format( username=flask.g.fas_user.username)