Do not cache chat, login and logout
This commit is contained in:
parent
6b67bd9d7b
commit
a921346dbb
|
|
@ -37,6 +37,7 @@ if msg_to_del is not None and hswro.is_admin():
|
|||
r.lrem(CHAT_NAME, 0, msg)
|
||||
break
|
||||
|
||||
print("#!c=0")
|
||||
hswro.header("Shoutbox")
|
||||
if toast is not None:
|
||||
print(f"`c{toast}")
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ l = hswro.get_login_info()
|
|||
form_login = environ.get('field_username', None)
|
||||
form_pass = environ.get('field_pass', None)
|
||||
|
||||
print("#!c=0")
|
||||
hswro.header()
|
||||
if l[1] is not None:
|
||||
print(f"`c`!Warning:`! {l[1]}")
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ from os import environ
|
|||
|
||||
hswro.logout()
|
||||
|
||||
print("#!c=0")
|
||||
hswro.header()
|
||||
print("`cYou have been logged out.")
|
||||
hswro.footer()
|
||||
|
|
|
|||
Loading…
Reference in New Issue