diff --git a/app/Console/Commands/ClearExpiredAuthenticationCommand.php b/app/Console/Commands/ClearExpiredAuthenticationCommand.php new file mode 100644 index 0000000..bb6d475 --- /dev/null +++ b/app/Console/Commands/ClearExpiredAuthenticationCommand.php @@ -0,0 +1,48 @@ +whereDate('valid_until', '<', Carbon::now()) + ->delete(); + + return 0; + } +}