mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 15:54:36 +02:00
Undo my mistake (I botched this in #1, shame on me)
This commit is contained in:
+1
-1
@@ -305,7 +305,7 @@ def main():
|
||||
userauthcookie = paloalto_getconfig(conf, s, saml_username, prelogin_cookie)
|
||||
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')))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user