Commit graph

10 commits

Author SHA1 Message Date
Philipp Mundhenk
60ee74c68a proxy-auth: fix check_proxy enforcement and persistence
The proxy IP check was never enforced: ServiceProxyAuth read config
key 'proxy_check' but the property is registered as 'check_proxy',
so the lookup always returned the default empty string and the
else-branch set $sProxyRequest = true unconditionally.

The BOOL property also had SetEncrypted(), which caused getDecrypted()
to call DecryptFromJSON() on a literal bool and fail with
"DecryptFromJSON() invalid $data", so the admin UI never reflected
the saved value. BOOLs are stored as plain bools in JSON; switch to
Get() and drop SetEncrypted() on the property.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 09:54:54 +02:00
the-djmaze
a4299c5f1c Fix extensions with login.credentials hook parameters 2024-09-21 00:01:02 +02:00
the-djmaze
4bb1b41505 Bump version for #1597 2024-05-26 18:33:29 +02:00
Philipp Mundhenk
8d3f4f5e1d introduced SensitiveString handling 2024-05-26 17:04:32 +02:00
the-djmaze
3017f8c656 Simplify LoginProcess handling 2024-03-28 02:43:39 +01:00
the-djmaze
5747b7add6 Version bump for #1400 2024-01-22 00:05:06 +01:00
Philipp Mundhenk
b947db2eb1 added documentation for usage of custom_logout_link 2024-01-21 15:31:32 +01:00
Philipp Mundhenk
081726d764 added automatic login 2024-01-21 14:57:47 +01:00
Philipp Mundhenk
84f739c72f added encryption 2024-01-14 18:22:41 +01:00
Philipp Mundhenk
ec937a5af1 implemented ProxyAuth 2024-01-14 14:39:23 +01:00