Update grocy config to use new AUTH path

This commit is contained in:
compute
2026-09-07 08:44:00 +00:00
parent 2ffbd08f84
commit ef05f9154b
+1 -1
View File
@@ -76,7 +76,7 @@ Setting('DISABLE_AUTH', false);
// Either "Grocy\Middleware\DefaultAuthMiddleware", "Grocy\Middleware\ReverseProxyAuthMiddleware" // Either "Grocy\Middleware\DefaultAuthMiddleware", "Grocy\Middleware\ReverseProxyAuthMiddleware"
// or any class that implements Grocy\Middleware\AuthMiddleware // or any class that implements Grocy\Middleware\AuthMiddleware
Setting('AUTH_CLASS', 'Grocy\Middleware\DefaultAuthMiddleware'); Setting('AUTH_CLASS', 'Grocy\Middleware\Auth\DefaultAuthMiddleware');
// Options when using ReverseProxyAuthMiddleware // Options when using ReverseProxyAuthMiddleware
Setting('REVERSE_PROXY_AUTH_HEADER', 'REMOTE_USER'); // The name of the HTTP header which your reverse proxy uses to pass the username (on successful authentication) Setting('REVERSE_PROXY_AUTH_HEADER', 'REMOTE_USER'); // The name of the HTTP header which your reverse proxy uses to pass the username (on successful authentication)