I would like to have my login session expire after some time or if the tab is closed. But for some reason I stay logged in indefinitely. I tried setting these environment variables and recreating the containers without any success:
I cleared my browser cache/cookies/data between tests and also ran these commands on the server in case I need to refresh something:
docker exec -it in-app php artisan ninja:type-check --all=true
docker exec -it in-app php artisan optimize
I am using docker compose to run InvoiceNinja nginx/app/db containers. I run Traefik for cert management (never was able to figure out how to remove nginx and use Traefik instead to directly point to IN)
One other quick: I have a need to run multiple instances of InvoiceNinja so my browser logs into InvoiceNinja on multiple domains like this:
I’m not sure what is relevant here but maybe it helps shed light on the cause of the problem? Any advice would be appreciated.