Compare commits
2 Commits
220500fdb1
...
340a182b56
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
340a182b56 | ||
|
|
180e28d152 |
@ -36,7 +36,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
async def on_session_start(session: Session) -> None:
|
async def on_session_start(session: Session) -> None:
|
||||||
# Use this line to fake being any user without having to log in
|
# Use this line to fake being any user without having to log in
|
||||||
# session.attach(UserSession(id=uuid4(), user_id=30, is_team_member=True))
|
session.attach(UserSession(id=uuid4(), user_id=30, is_team_member=True))
|
||||||
await session.set_title(lan_info.name)
|
await session.set_title(lan_info.name)
|
||||||
if session[LocalData].stored_session_token:
|
if session[LocalData].stored_session_token:
|
||||||
user_session = session[LocalDataService].verify_token(session[LocalData].stored_session_token)
|
user_session = session[LocalDataService].verify_token(session[LocalData].stored_session_token)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user