Skip to content

Commit

Permalink
added documentation for usage of custom_logout_link
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Jan 21, 2024
1 parent 59c0f5c commit b947db2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugins/proxy-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion plugins/proxy-auth/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
Expand Down

0 comments on commit b947db2

Please sign in to comment.