diff --git a/route/__init__.py b/route/__init__.py index 16d3ce650..44d1f71ce 100755 --- a/route/__init__.py +++ b/route/__init__.py @@ -76,7 +76,7 @@ def funConvert(fun): def isLogined(): - if 'login' in session and 'username' in session: + if 'login' in session and 'username' in session and session['login'] == True: return True return False diff --git a/route/templates/default/config.html b/route/templates/default/config.html index 5c6c54fbe..842caa2cc 100755 --- a/route/templates/default/config.html +++ b/route/templates/default/config.html @@ -197,7 +197,7 @@ text-align: center; } - +