[dokuwiki] Re: Redirect after logout

  • From: "Phy" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "i" for DMARC)
  • To: DokuWiki Mailinglist <dokuwiki@xxxxxxxxxxxxx>
  • Date: Thu, 11 Oct 2018 13:31:45 -0400

On Tue, Oct 9, 2018 at 12:14 PM Kai Peter <kp@xxxxxxxxxxxxxxxxxxx> wrote:

If I logout from a page I will be redirected to the Login page. I prefer
to stay on the page I edited
last.


Yes that's hard-coded to redirect to login:
https://github.com/splitbrain/dokuwiki/blob/7ed1464e7e6580e85fc71609c69c70abfe0aa171/inc/Action/Logout.php#L44


Actually you can go back to the wiki page you previously read by clicking
"show page" in the page tools on the login page, thanks to the nature of
how DokuWiki triggers actions.

Anyone interested in improving this can submit a PR on GitHub.

Regards,
Henry

Other related posts: