Sessions in both OpenPanel and OpenAdmin do not end automatically when their services restart. Instead, they remain active until they reach the session timeout configured by the administrator. You can adjust this timeout from OpenAdmin → Settings → OpenPanel or via terminal.
If you need to immediately invalidate all active sessions, you can do so by regenerating the secret key used for session signing:
OpenAdmin
To force-logout all users from the OpenAdmin UI, regenerate the secret key and restart the service:
openssl rand -hex 32 > /etc/openpanel/openadmin/secret.key && service admin restart
OpenPanel
To force-logout all users from the OpenPanel UI, regenerate its secret key and restart the container:
openssl rand -hex 32 > /etc/openpanel/openpanel/secret.key && docker restart openpanel