Skip to content

Commit 45dcfc7

Browse files
author
Ankur Srivastava
committed
updated docs
1 parent fccfaa9 commit 45dcfc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/flask_app/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def init():
2626

2727
@jwt.jwt_data_loader
2828
def add_claims_to_access_token(identity):
29+
"""Explicitly set identity and claims for jwt."""
2930
if identity == 'admin':
3031
roles = 'admin'
3132
else:

0 commit comments

Comments
 (0)