sagemathinc / cocalc-docker

DEPRECATED (was -- Docker setup for running CoCalc as downloadable software on your own computer)
https://cocalc.com
Other
398 stars 103 forks source link

make REMEMBER_ME cookie depend on hostname #199

Closed williamstein closed 10 months ago

williamstein commented 10 months ago

Make the script run.py set this env variable to some function of the hostname, if it isn't already set:

COCALC_REMEMBER_ME_COOKIE_NAME

Otherwise, if you visit more than one cocalc docker on localhost, you get signed out of all but the last one, which is confusing!