Fix handling of fail mode
This commit is contained in:
parent
0934902bba
commit
406b9ff97c
@ -44,7 +44,7 @@ class ErrorHandler {
|
||||
}
|
||||
|
||||
if(error.is< ConnectionError >()) {
|
||||
if(config.failMode == FailMode::deny) {
|
||||
if(config.failMode != FailMode::deny) {
|
||||
pam.print("Incorrect response from the Rublon API, user bypassed");
|
||||
return AuthenticationStatus::Action::Bypass;
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user