@@ -30,7 +30,7 @@ |
||
| 30 | 30 | break; |
| 31 | 31 | default: |
| 32 | 32 | if (Auth::guard($guard)->check()) { |
| 33 | - return redirect()->route('home'); |
|
| 33 | + return redirect()->route('home'); |
|
| 34 | 34 | } |
| 35 | 35 | } |
| 36 | 36 | |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | private function sendFailedLoginResponse(Request $request) |
| 60 | 60 | { |
| 61 | 61 | throw ValidationException::withMessages([ |
| 62 | - 'email' => [trans('auth.failed')], |
|
| 62 | + 'email' => [trans('auth.failed')], |
|
| 63 | 63 | ]); |
| 64 | 64 | } |
| 65 | 65 | } |
@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | protected function mapWebRoutes() |
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | - ->namespace($this->namespace) |
|
| 56 | - ->group(base_path('routes/web.php')); |
|
| 55 | + ->namespace($this->namespace) |
|
| 56 | + ->group(base_path('routes/web.php')); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | protected function mapApiRoutes() |
| 67 | 67 | { |
| 68 | 68 | Route::prefix('api') |
| 69 | - ->middleware('api') |
|
| 70 | - ->namespace($this->namespace) |
|
| 71 | - ->group(base_path('routes/api.php')); |
|
| 69 | + ->middleware('api') |
|
| 70 | + ->namespace($this->namespace) |
|
| 71 | + ->group(base_path('routes/api.php')); |
|
| 72 | 72 | } |
| 73 | 73 | } |
@@ -182,8 +182,8 @@ |
||
| 182 | 182 | $unreg = null; |
| 183 | 183 | if($thread->delete() && $this->deleteTopic($thread->id_topic)) { |
| 184 | 184 | $unreg = Common::unregisterLog([ |
| 185 | - 'target' => 'thread', |
|
| 186 | - 'target_id' => $id |
|
| 185 | + 'target' => 'thread', |
|
| 186 | + 'target_id' => $id |
|
| 187 | 187 | ]); |
| 188 | 188 | } |
| 189 | 189 | if($unreg != null && $unreg) { |