Files @ 4cad3a52e0ed
Branch filter:

Location: kallithea/docs/changelog.rst

4cad3a52e0ed 200 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Thomas De Schampheleire
auth: return early in LoginRequired on invalid IP

Simplify the code of the LoginRequired decorator by returning early when an
unacceptable condition is met.

Note: the 'return' of redirect_to_login() is not strictly needed since we
should not return from that function (redirection occurs). Adding it,
however, is a security measure in case redirect_to_login does not do what it
should do.
1
2
3
4
5
6
7
8
9
.. _changelog:

=========
Changelog
=========

Kallithea project doesn't keep its changelog here.  We refer you to our Mercurial logs_ .

.. _logs: https://kallithea-scm.org/repos/kallithea/changelog