From ecfd557459a75085e8dc51b4686e6aeabb9bc6c0 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 31 2018 12:13:10 +0000 Subject: Fix checking if the user is authenticated Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 76e7904..ad33a25 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -358,7 +358,7 @@ {% endif %} - {% if authenticated and repo.settings.get('pull_request_access_only') %} + {% if g.authenticated and repo.settings.get('pull_request_access_only') %}