Skip to content

Commit

Permalink
41874: Cron.php does not work when account has IP restriction.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufschmidt committed Aug 8, 2024
1 parent a055d7a commit 8613402
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,11 @@
*/
class ilAuthFrontendCLI extends ilAuthFrontend implements ilAuthFrontendInterface
{
/**
* This overwrites ilAuthFrontend::checkIp used in ilAuthFrontend::authenticate
* since CLI does not set $_SERVER['REMOTE_ADDR']!
*/
protected function checkIp(ilObjUser $user): bool {
return true;
}
}

0 comments on commit 8613402

Please sign in to comment.