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)
|
r.lrem(CHAT_NAME, 0, msg)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
print("#!c=0")
|
||||||
hswro.header("Shoutbox")
|
hswro.header("Shoutbox")
|
||||||
if toast is not None:
|
if toast is not None:
|
||||||
print(f"`c{toast}")
|
print(f"`c{toast}")
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ l = hswro.get_login_info()
|
||||||
form_login = environ.get('field_username', None)
|
form_login = environ.get('field_username', None)
|
||||||
form_pass = environ.get('field_pass', None)
|
form_pass = environ.get('field_pass', None)
|
||||||
|
|
||||||
|
print("#!c=0")
|
||||||
hswro.header()
|
hswro.header()
|
||||||
if l[1] is not None:
|
if l[1] is not None:
|
||||||
print(f"`c`!Warning:`! {l[1]}")
|
print(f"`c`!Warning:`! {l[1]}")
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ from os import environ
|
||||||
|
|
||||||
hswro.logout()
|
hswro.logout()
|
||||||
|
|
||||||
|
print("#!c=0")
|
||||||
hswro.header()
|
hswro.header()
|
||||||
print("`cYou have been logged out.")
|
print("`cYou have been logged out.")
|
||||||
hswro.footer()
|
hswro.footer()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue