We use this on the demo whenever a new update is published.
To terminate all active sessions in OpenPanel or OpenAdmin, simply regenerate the SECRET_KEY and restart the service.
For OpenPanel:
openssl rand -hex 32 > /etc/openpanel/openpanel/secret.key && docker restart openpanel
For OpenAdmin:
openssl rand -hex 32 > /etc/openpanel/openadmin/secret.key && service admin restart