Merge #2697
2697: Make the login page guess where to redirect r=mergify[bot] a=nextgens ## What type of PR? enhancement ## What does this PR do? Make the login page guess where to redirect. If you access /admin/ and get redirected to /sso/login, it's only fair that it redirects you back to /admin afterwards. This is also changing the interface for external proxy authentication, making it simpler to configure. ### Related issue(s) - close #2692 - #1972 ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Florent Daigniere <nextgens@freenetproject.org> Co-authored-by: Dimitri Huisman <diman@huisman.xyz> Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>main
commit
86ad4c93a9
@ -0,0 +1,7 @@
|
||||
Make the login page "guess" where the user wants to land.
|
||||
This means that requests for /admin result in a login page that always redirects to admin.
|
||||
Requests for /webmail results in a login page that redirects the user being logged in to webmail.
|
||||
You can still access / (https://mydomain/) or /sso/login, to access the login page with both login buttons.
|
||||
|
||||
Introduce AUTH_PROXY_LOGOUT_URL to redirect users to a specific URL after they have been logged-out
|
||||
Retire /sso/proxy and merge it in /sso/login
|
Loading…
Reference in New Issue