-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0584241
commit a77e152
Showing
1 changed file
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -18,20 +16,16 @@ | |
* | ||
*********************************************************************/ | ||
|
||
/** | ||
* Description of class class | ||
* | ||
* @author Stefan Meyer <[email protected]> | ||
* | ||
*/ | ||
declare(strict_types=1); | ||
|
||
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; | ||
} | ||
/** | ||
* This overwrites ilAuthFrontend::checkIp used in ilAuthFrontend::authenticate | ||
* since CLI does not set $_SERVER['REMOTE_ADDR']! | ||
*/ | ||
protected function checkIp(ilObjUser $user): bool | ||
{ | ||
return true; | ||
} | ||
} |