[chg] Ensure 'false' if LinOTP Request fails

pull/8042/head
Hendrik Baecker 2021-12-21 13:48:02 +01:00
parent 83c08362b9
commit 8964a36b39
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ class LinOTPAuthenticate extends BaseAuthenticate
// CakeLog::debug(var_dump($ret));
return $ret;
}
// If bad things happens
CakeLog::debug("LinOTP-Plugin couldn't parse results from LinOTP API. Check logs.");
return false;
}
/*