comment('Clearing authentication log...'); $deleted = AuthLog::where('login_at', '<', now()->subDays(config('2fauth.authLogRetentionTime'))->format('Y-m-d H:i:s'))->delete(); $this->info($deleted . ' authentication logs cleared.'); } }