mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Revert "Log auth exception to debug iOS logout issue"
This reverts commit 125daebcbc
.
This commit is contained in:
parent
e40e58c0bf
commit
1b8d4b78c5
@ -3,7 +3,6 @@
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
{
|
||||
@ -92,8 +91,6 @@ public function register()
|
||||
'message' => $exception->getMessage()], 407);
|
||||
}
|
||||
else {
|
||||
Log::debug($request->fullUrl());
|
||||
Log::debug($exception->getTraceAsString());
|
||||
return response()->json([
|
||||
'message' => $exception->getMessage()], 401);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user