Skip to content

Commit

Permalink
Make sure cookies are readable by dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Oct 4, 2024
1 parent d44100c commit 18a28ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/dashboard/src/routes/login_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def initialize_session(request: Request, box: str = Query(...), end_redirect_uri
}
)
# Set cookie_id with session_id
response.set_cookie(key="cookie_id", value=session_id)
response.set_cookie(key="cookie_id", value=session_id, domain="dashboard.osmsandbox.us")
logging.info("Generated new session_id and saved to database")
return response

Expand Down

0 comments on commit 18a28ee

Please sign in to comment.