Skip to content

Commit c253fe1

Browse files
committed
small changes
1 parent aa43e38 commit c253fe1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/auth/tables.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,5 @@ class SiteUser(Base):
4444
first_logged_in = Column(DateTime, nullable=False, default=datetime(2024, 6, 16))
4545
last_logged_in = Column(DateTime, nullable=False, default=datetime(2024, 6, 16))
4646

47-
# TODO: is this still being used?
4847
# optional user information for display purposes
4948
profile_picture_url = Column(Text, nullable=True)

src/auth/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class SessionType:
55
# see: https://www.sfu.ca/information-systems/services/cas/cas-for-web-applications/
66
# for more info on the kinds of members
77
FACULTY = "faculty"
8+
# TODO: what will happen to the maillists for authentication; are groups part of this?
89
CSSS_MEMBER = "csss member" # !cs-students maillist
910
STUDENT = "student"
1011
ALUMNI = "alumni"

src/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
COMPUTING_ID_MAX = 8
1616

1717
# depends how large SFU maillists can be
18-
SESSION_TYPE_LEN = 32
18+
SESSION_TYPE_LEN = 48
1919

2020
# see https://support.discord.com/hc/en-us/articles/4407571667351-How-to-Find-User-IDs-for-Law-Enforcement#:~:text=Each%20Discord%20user%20is%20assigned,user%20and%20cannot%20be%20changed.
2121
# NOTE: the length got updated to 19 in july 2024. See https://www.reddit.com/r/discordapp/comments/ucrp1r/only_3_months_until_discord_ids_hit_19_digits/

0 commit comments

Comments
 (0)