mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
added documentation for usage of custom_logout_link
This commit is contained in:
parent
59c0f5cc94
commit
b947db2eb1
2 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
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.
|
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.
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ class ProxyAuthPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
->SetAllowedInJs(true)
|
->SetAllowedInJs(true)
|
||||||
->SetLabel('Activate automatic login')
|
->SetLabel('Activate automatic login')
|
||||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)
|
->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)
|
->SetDefaultValue(true)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue