From 7fbaeee6041051ca7f108bf6356b7ce887a7eab5 Mon Sep 17 00:00:00 2001 From: Tino Lange Date: Fri, 8 May 2020 09:35:06 +0200 Subject: [PATCH] support 'push' also in `mfa_priority` --- gp-okta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gp-okta.py b/gp-okta.py index 35cfff0..b83cb69 100755 --- a/gp-okta.py +++ b/gp-okta.py @@ -188,7 +188,7 @@ def load_conf(cf): def mfa_priority(conf, ftype, fprovider): if ftype == 'token:software:totp' or (ftype, fprovider) == ('token', 'symantec'): ftype = 'totp' - if ftype not in ['totp', 'sms', 'webauthn']: + if ftype not in ['totp', 'sms', 'push', 'webauthn']: return 0 mfa_order = conf.get('mfa_order', '') if ftype in mfa_order: