Archived
2
0
Fork 0
forked from blallo/Feedati

make ttrss forward logout to the central auth

This commit is contained in:
boyska 2018-10-16 13:17:05 +02:00
parent b5d12f1c36
commit a34201ba9b
4 changed files with 17 additions and 1 deletions

View file

@ -72,6 +72,11 @@ SetHandler form-login-handler
Use Auth
AuthFormLoginSuccessLocation "/panel/"
</Location>
<Location "/logout">
SetHandler form-logout-handler
AuthFormLogoutLocation "/login/logout.html"
Session on
</Location>
<Directory />
AllowOverride none

View file

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<p>You have been logged out.</p>
<p><a href="/login/">Login</a> again?</p>
</body>
</html>

View file

@ -90,6 +90,8 @@
// If set to true, users won't be able to set application language
// and settings profile.
define ('LOGOUT_LOCATION', '/logout');
// *********************
// *** Feed settings ***
// *********************
@ -197,5 +199,6 @@
// if necessary (after migrating all new options from this file).
define('AUTHPROXY_WHITELIST_NAME', 'feedati-fe');
//define('AUTHPROXY_WHITELIST_IP', '172.18.0.1');
// vim:ft=php bkc=yes:

2
tt-rss

@ -1 +1 @@
Subproject commit d6ab5df482ebe96c849a1c0103d8c6e880699f38
Subproject commit 6b0ef3d2112a19268810b381ece0a18b2050ee1f