diff --git a/files/2fa/pam_url.conf.j2 b/files/2fa/pam_url.conf.j2 index 0364f4df74..3265a04ce0 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