mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 15:54:36 +02:00
support 'push' also in mfa_priority
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ def load_conf(cf):
|
|||||||
def mfa_priority(conf, ftype, fprovider):
|
def mfa_priority(conf, ftype, fprovider):
|
||||||
if ftype == 'token:software:totp' or (ftype, fprovider) == ('token', 'symantec'):
|
if ftype == 'token:software:totp' or (ftype, fprovider) == ('token', 'symantec'):
|
||||||
ftype = 'totp'
|
ftype = 'totp'
|
||||||
if ftype not in ['totp', 'sms', 'webauthn']:
|
if ftype not in ['totp', 'sms', 'push', 'webauthn']:
|
||||||
return 0
|
return 0
|
||||||
mfa_order = conf.get('mfa_order', '')
|
mfa_order = conf.get('mfa_order', '')
|
||||||
if ftype in mfa_order:
|
if ftype in mfa_order:
|
||||||
|
|||||||
Reference in New Issue
Block a user