Skip to content

Commit

Permalink
Auth: Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Aug 8, 2024
1 parent e3daaaf commit 0703516
Showing 1 changed file with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,14 @@

declare(strict_types=1);

/**
* Description of class class
*
* @author Stefan Meyer <[email protected]>
*
*/
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 0703516

Please sign in to comment.