Undo my mistake (I botched this in #1, shame on me)

This commit is contained in:
Dan Lenski
2018-08-30 17:35:13 -07:00
committed by GitHub
parent 6c56daca01
commit 2029f19353
+1 -1
View File
@@ -305,7 +305,7 @@ def main():
userauthcookie = paloalto_getconfig(conf, s, saml_username, prelogin_cookie) userauthcookie = paloalto_getconfig(conf, s, saml_username, prelogin_cookie)
log('portal-userauthcookie: {0}'.format(userauthcookie)) log('portal-userauthcookie: {0}'.format(userauthcookie))
cmd = '\necho "{1}" | openconnect --protocol=gp -u "{0}"/portal:portal-userauthcookie --passwd-on-stdin {2}' cmd = '\necho "{1}" | openconnect --protocol=gp -u "{0}" --usergroup portal:portal-userauthcookie --passwd-on-stdin {2}'
print(cmd.format(saml_username, userauthcookie, conf.get('vpn_url'))) print(cmd.format(saml_username, userauthcookie, conf.get('vpn_url')))