From f3da725a8a2990b1f3601062487d3d9aa6ab4a33 Mon Sep 17 00:00:00 2001 From: Jiri Kyjovsky Date: Wed, 24 Aug 2022 15:01:33 +0200 Subject: [PATCH] copr-fe: add link to stg FAS when copr doesnt run in production --- roles/copr/frontend/templates/copr.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index ae03b2dc74..fdd440a9be 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -154,3 +154,9 @@ API_GSSAPI_AUTH = True {% else %} API_GSSAPI_AUTH = False {% endif %} + +{% if env == 'production' %} +FAS_SIGNUP_URL = "https://accounts.fedoraproject.org" +{% else %} +FAS_SIGNUP_URL = "https://accounts.stg.fedoraproject.org" +{% endif %}