Fix 'AR' ACS check
This commit is contained in:
parent
afa856eaf3
commit
401d0a10b1
|
@ -994,8 +994,8 @@ function peg$parse(input, options) {
|
|||
return false;
|
||||
}
|
||||
switch(value) {
|
||||
case 1 : return user.authFactor >= User.AuthFactors.Factor1;
|
||||
case 2 : return user.authFactor >= User.AuthFActors.Factor2;
|
||||
case 1 : return true;
|
||||
case 2 : return user.getProperty(UserProps.AuthFactor2OTP) ? true : false;
|
||||
default : return false;
|
||||
}
|
||||
},
|
||||
|
|
|
@ -150,8 +150,8 @@
|
|||
return false;
|
||||
}
|
||||
switch(value) {
|
||||
case 1 : return user.authFactor >= User.AuthFactors.Factor1;
|
||||
case 2 : return user.authFactor >= User.AuthFActors.Factor2;
|
||||
case 1 : return true;
|
||||
case 2 : return user.getProperty(UserProps.AuthFactor2OTP) ? true : false;
|
||||
default : return false;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue