You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected$signature = 'snipeit:global-logout {--force : Skip the danger prompt; assuming you enter "y"} ';
15
+
16
+
/**
17
+
* The console command description.
18
+
*
19
+
* @var string
20
+
*/
21
+
protected$description = 'This command will destroy all web sessions on disk and will force a re-login for all users.';
22
+
23
+
/**
24
+
* Create a new command instance.
25
+
*
26
+
* @return void
27
+
*/
28
+
publicfunction__construct()
29
+
{
30
+
parent::__construct();
31
+
}
32
+
33
+
/**
34
+
* Execute the console command.
35
+
*
36
+
* @return mixed
37
+
*/
38
+
publicfunctionhandle()
39
+
{
40
+
41
+
if (!$this->option('force') && !$this->confirm("****************************************************\nTHIS WILL FORCE A LOGIN FOR ALL LOGGED IN USERS.\n\nAre you SURE you wish to continue? ")) {
0 commit comments