mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-05 04:07:23 +02:00
Fix 'AR' ACS check
This commit is contained in:
parent
afa856eaf3
commit
401d0a10b1
2 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue