diff --git a/files/2fa/pam_url.conf b/files/2fa/pam_url.conf index 9ce7690b81..b9a86c29d3 100644 --- a/files/2fa/pam_url.conf +++ b/files/2fa/pam_url.conf @@ -1,8 +1,12 @@ -pam_url: +am_url: { settings: { + {% if datacenter == 'phx2' %} url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch + {% else %} + url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch + {% endif %} returncode = "OK"; # The remote script/cgi should return a 200 http code and this string as its only results userfield = "user"; # userfield name to send passwdfield = "token"; # passwdfield name to send