added documentation for usage of custom_logout_link

This commit is contained in:
Philipp Mundhenk 2024-01-21 15:31:32 +01:00
parent 59c0f5cc94
commit b947db2eb1
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -207,7 +207,7 @@ class ProxyAuthPlugin extends \RainLoop\Plugins\AbstractPlugin
->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)
);
}