dont trim, strip!
This commit is contained in:
parent
7bda8f8f30
commit
09eebc719e
|
@ -23,7 +23,7 @@ def is_moderator(username):
|
|||
def get_session_user():
|
||||
if "auth" not in session or not session["auth"]:
|
||||
return None
|
||||
return session["auth"]["preferred_username"].trim()
|
||||
return session["auth"]["preferred_username"].strip()
|
||||
|
||||
def post_webhook(msg):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue