Module: check_mk
Branch: master
Commit: 5b8cadc6002ed27b5d71b0cd8a346a66d72586e9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5b8cadc6002ed2…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Apr 1 09:04:30 2014 +0200
fixed exception on user logon screen
---
web/htdocs/htmllib.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 6a9c84c..a9b4d79 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -804,7 +804,8 @@ class html:
self.body_end()
# Hopefully this is the correct place to performe some "finalization"
tasks.
- self.store_new_transids()
+ if self.user:
+ self.store_new_transids()
def add_status_icon(self, img, tooltip, url = None):
if url: