diff --git a/files/2fa/pam_url.conf.j2 b/files/2fa/pam_url.conf.j2 index 624d55cb3f..0364f4df74 100644 --- a/files/2fa/pam_url.conf.j2 +++ b/files/2fa/pam_url.conf.j2 @@ -4,7 +4,7 @@ pam_url: { {% if datacenter == 'phx2' %} url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch - {% elif staging is defined %} + {% elif environment == 'staging' %} url = "https://fas-all.stg.phx2.fedoraproject.org:8443/"; # URI to fetch {% else %} url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch