mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
fix service unavailable template
This commit is contained in:
parent
1d97e01540
commit
c397afab4a
@ -230,7 +230,7 @@ def exception_decorator(func):
|
|||||||
self._handle_exception(e)
|
self._handle_exception(e)
|
||||||
username = self._check_session()
|
username = self._check_session()
|
||||||
if not username:
|
if not username:
|
||||||
return self.temp_service_unavailable.render()
|
return self.temp['service_unavailable.tmpl'].render()
|
||||||
is_admin = self._check_admin()
|
is_admin = self._check_admin()
|
||||||
et = type(e)
|
et = type(e)
|
||||||
if et is UserDoesntExist:
|
if et is UserDoesntExist:
|
||||||
|
Loading…
Reference in New Issue
Block a user