@@ 118-124 (lines=7) @@ | ||
115 | /** |
|
116 | * Log unauthed protected controller action (403) |
|
117 | */ |
|
118 | if ($this->logger) { |
|
119 | $this->logger->addWarning('Unauthenticated attempt to access protected action', [ |
|
120 | 'path' => $request->getPath(), |
|
121 | 'controller' => $controller->getShortName(), |
|
122 | 'action' => $action |
|
123 | ]); |
|
124 | } |
|
125 | ||
126 | if ($this->configuration->exists('User.SignIn.Controller.Class') && $this->configuration->exists('User.SignIn.Controller.Action')) { |
|
127 | /** |
|
@@ 143-149 (lines=7) @@ | ||
140 | /** |
|
141 | * Log unauthed private controller action (403) |
|
142 | */ |
|
143 | if ($this->logger) { |
|
144 | $this->logger->addWarning('Unauthenticated attempt to access private action', [ |
|
145 | 'path' => $request->getPath(), |
|
146 | 'controller' => $controller->getShortName(), |
|
147 | 'action' => $action |
|
148 | ]); |
|
149 | } |
|
150 | } |
|
151 | ||
152 | /** |