From b947db2eb1530c4ad88cc04773cd2e6bc61e2c54 Mon Sep 17 00:00:00 2001 From: Philipp Mundhenk Date: Sun, 21 Jan 2024 15:31:32 +0100 Subject: [PATCH] added documentation for usage of custom_logout_link --- plugins/proxy-auth/README.md | 2 ++ plugins/proxy-auth/index.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/proxy-auth/README.md b/plugins/proxy-auth/README.md index b3df52d249..7a3004d702 100644 --- a/plugins/proxy-auth/README.md +++ b/plugins/proxy-auth/README.md @@ -78,3 +78,5 @@ Note that due to this implementation, logout is impossible, as once logged out, The user is always considered logged in, as authentication is handled through reverse proxy and authentication system. Auto login can be disabled in the plugin settings. +You can also change the logout link in admin panel -> Config -> custom_logout_link to the one of your authentication system, e.g., ```https://auth.yourdomain.com/logout```. +In this case, you can log out from your overall system via SnappyMail. diff --git a/plugins/proxy-auth/index.php b/plugins/proxy-auth/index.php index 8ba04c7bee..a69dd23de5 100644 --- a/plugins/proxy-auth/index.php +++ b/plugins/proxy-auth/index.php @@ -207,7 +207,7 @@ protected function configMapping() : array ->SetAllowedInJs(true) ->SetLabel('Activate automatic login') ->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL) - ->SetDescription('Activates automatic login, if User Header is set (note: logout not possible)') + ->SetDescription('Activates automatic login, if User Header is set (note: Use custom_logout_link to enable logout, see plugin README)') ->SetDefaultValue(true) ); }