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