Skip to content

Commit

Permalink
Auth: Fix code style
Browse files Browse the repository at this point in the history
(cherry picked from commit 0703516)
(cherry picked from commit bc7f759)
  • Loading branch information
mjansenDatabay committed Aug 8, 2024
1 parent 0584241 commit a77e152
Showing 1 changed file with 10 additions and 16 deletions.
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.
Expand All @@ -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;
}
}

0 comments on commit a77e152

Please sign in to comment.