]> git.ipfire.org Git - ipfire.org.git/commit - src/web/wiki.py
wiki: Fix authorisation handling when editing pages
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 May 2019 16:10:36 +0000 (17:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 May 2019 16:11:41 +0000 (17:11 +0100)
commit3587f73a9a6ca722b7501ec755c4eeb1214412d7
tree40327840fb48a1f6cb0ff5f081377fdd56114cec
parent7673c27930914e8ddd393b1db4e725aacf3e0780
wiki: Fix authorisation handling when editing pages

This is now a proper handler which uses the @authenticated decorator
which redirects people to the correct login URL.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/wiki/404.html
src/templates/wiki/page.html
src/web/__init__.py
src/web/wiki.py