|
@@ 128-132 (lines=5) @@
|
| 125 |
|
|
| 126 |
|
return $v; |
| 127 |
|
} |
| 128 |
|
if (isset($v['proxy_client']['varnish']) || isset($v['proxy_client']['noop'])) { |
| 129 |
|
$v['user_context']['logout_handler']['enabled'] = true; |
| 130 |
|
|
| 131 |
|
return $v; |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
if ('auto' === $v['user_context']['logout_handler']['enabled']) { |
| 135 |
|
$v['user_context']['logout_handler']['enabled'] = false; |
|
@@ 134-138 (lines=5) @@
|
| 131 |
|
return $v; |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
if ('auto' === $v['user_context']['logout_handler']['enabled']) { |
| 135 |
|
$v['user_context']['logout_handler']['enabled'] = false; |
| 136 |
|
|
| 137 |
|
return $v; |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
throw new InvalidConfigurationException('To enable the user context logout handler, you need to configure a ban capable proxy_client.'); |
| 141 |
|
}) |