summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--files/2fa/pam_url.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/files/2fa/pam_url.conf.j2 b/files/2fa/pam_url.conf.j2
index 0364f4df7..3265a04ce 100644
--- a/files/2fa/pam_url.conf.j2
+++ b/files/2fa/pam_url.conf.j2
@@ -2,9 +2,9 @@ pam_url:
{
settings:
{
- {% if datacenter == 'phx2' %}
+ {% if environment == 'staging' %}
url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch
- {% elif environment == 'staging' %}
+ {% elif datacenter == 'phx2' %}
url = "https://fas-all.stg.phx2.fedoraproject.org:8443/"; # URI to fetch
{% else %}
url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch