| @@ 112-118 (lines=7) @@ | ||
| 109 | /** |
|
| 110 | * Log unauthed protected controller action (403) |
|
| 111 | */ |
|
| 112 | if ($this->logger) { |
|
| 113 | $this->logger->addWarning('Unauthenticated attempt to access protected action', [ |
|
| 114 | 'path' => $request->getPath(), |
|
| 115 | 'controller' => $controller->getShortName(), |
|
| 116 | 'action' => $action |
|
| 117 | ]); |
|
| 118 | } |
|
| 119 | ||
| 120 | if ($this->configuration->exists('User.SignIn.Controller.Class') && $this->configuration->exists('User.SignIn.Controller.Action')) { |
|
| 121 | /** |
|
| @@ 137-143 (lines=7) @@ | ||
| 134 | /** |
|
| 135 | * Log unauthed private controller action (403) |
|
| 136 | */ |
|
| 137 | if ($this->logger) { |
|
| 138 | $this->logger->addWarning('Unauthenticated attempt to access private action', [ |
|
| 139 | 'path' => $request->getPath(), |
|
| 140 | 'controller' => $controller->getShortName(), |
|
| 141 | 'action' => $action |
|
| 142 | ]); |
|
| 143 | } |
|
| 144 | } |
|
| 145 | ||
| 146 | /** |
|