undo
This commit is contained in:
parent
1fcf2a6718
commit
567b0f27af
@ -18,7 +18,6 @@ def not_logged_in_guard(event: GuardEvent) -> Optional[URL]:
|
|||||||
|
|
||||||
# Guards pages against access from users that are NOT logged in and NOT team members
|
# Guards pages against access from users that are NOT logged in and NOT team members
|
||||||
def team_guard(event: GuardEvent) -> Optional[URL]:
|
def team_guard(event: GuardEvent) -> Optional[URL]:
|
||||||
return None
|
|
||||||
user_id = event.session[SessionStorage].user_id
|
user_id = event.session[SessionStorage].user_id
|
||||||
is_team_member = event.session[SessionStorage].is_team_member
|
is_team_member = event.session[SessionStorage].is_team_member
|
||||||
if user_id is None or not is_team_member:
|
if user_id is None or not is_team_member:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user