fixed condition when logout button appears.
This commit is contained in:
parent
27307791fd
commit
739033c065
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def footer(req,form):
|
||||||
except: #not logged in
|
except: #not logged in
|
||||||
username = ""
|
username = ""
|
||||||
sessionid = ""
|
sessionid = ""
|
||||||
if (username == "") or (sessionid == "") or ("logout" not in form.keys()):
|
if ((username != "") and (sessionid != "")) and ("logout" not in form.keys()):
|
||||||
data = """
|
data = """
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<input type="hidden" name="sessionid" value="%s">
|
<input type="hidden" name="sessionid" value="%s">
|
||||||
|
|
Loading…
Reference in a new issue