Logout All Sessions
This command can be useful right before you run a command line restore from backup, since the user ID a person is logged in as may not be the same once the database is restored from a previous version, which could lead to incorrect permissions (privilege escalation or privilege demotion) and actions taken by that user would be attributed to someone else.
To run this command, type:
php artisan snipeit:global-logout
To override the confirmation prompt, add the --force
flag.
This command invokes app/Console/Commands/KillAllSessions.php
.
Updated almost 3 years ago