trafficmonitor init...2
This commit is contained in:
parent
e9f9902761
commit
b6f6c90452
@ -10,14 +10,12 @@ use Psr\Log\LoggerInterface;
|
||||
|
||||
class GoogleController extends AuthController
|
||||
{
|
||||
public const PATH = 'login';
|
||||
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
|
||||
{
|
||||
parent::initController($request, $response, $logger);
|
||||
if ($this->service === null) {
|
||||
$this->service = service('googleauth');
|
||||
}
|
||||
$this->addActionPaths(self::PATH);
|
||||
}
|
||||
protected function action_init_process(string $action): void
|
||||
{
|
||||
|
||||
@ -15,14 +15,12 @@ use Psr\Log\LoggerInterface;
|
||||
*/
|
||||
class LocalController extends AuthController
|
||||
{
|
||||
public const PATH = 'login';
|
||||
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
|
||||
{
|
||||
parent::initController($request, $response, $logger);
|
||||
if ($this->service === null) {
|
||||
$this->service = service('localauth');
|
||||
}
|
||||
$this->addActionPaths(self::PATH);
|
||||
}
|
||||
protected function action_init_process(string $action): void
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user