Skip to content

Commit

Permalink
Setting cookies after jwt auth obtain call is made
Browse files Browse the repository at this point in the history
  • Loading branch information
MGS-sails committed Jan 11, 2024
1 parent 7b73cfa commit 57308e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emgcli/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def create_secret_key(var_dir):
JWT_AUTH = {
'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=108000),
'JWT_AUTH_HEADER_PREFIX': 'Bearer',
'JWT_AUTH_COOKIE': 'EMG_AUTH',
}

try:
Expand Down

0 comments on commit 57308e9

Please sign in to comment.