mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
u
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ def funConvert(fun):
|
|||||||
|
|
||||||
|
|
||||||
def isLogined():
|
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 True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
@@ -197,7 +197,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="/static/js/config.js?v={{config.version}}"></script>
|
<script src="/static/app/config.js?v={{config.version}}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// setCookie('serverType','$web.ctx.session.webserver');
|
// setCookie('serverType','$web.ctx.session.webserver');
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user