Skip to content

Commit bc52fa5

Browse files
committed
Update server.py
1 parent abc26ab commit bc52fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-Login/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def callback_handling():
8181
session[constants.JWT_PAYLOAD] = payload
8282

8383
session[constants.PROFILE_KEY] = {
84-
'user_id': payload['user_id'],
84+
'user_id': payload['sub'],
8585
'email': payload['email'],
8686
'picture': payload['picture']
8787
}

0 commit comments

Comments
 (0)