forked from shaba/openuds
small MFA fixes for generic SMS
This commit is contained in:
parent
11d9c77a79
commit
6094f55182
@ -205,6 +205,7 @@ class SMSMFA(mfas.MFA):
|
||||
)
|
||||
if self.smsResponseErrorAction.value == '1':
|
||||
raise Exception('SMS response error')
|
||||
else:
|
||||
return mfas.MFA.RESULT.ALLOWED
|
||||
return mfas.MFA.RESULT.OK
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user