Skip to content

Commit 4d64824

Browse files
committed
Bug fix.
1 parent 3332101 commit 4d64824

File tree

2 files changed

+1
-37
lines changed

2 files changed

+1
-37
lines changed

app/Http/Controllers/Auth/SignInController.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55

66
use App\Exceptions\User\BannedException;
77
use App\Http\Controllers\Controller;
8-
use App\Http\Requests\SignInRequest;
98
use App\TransactionScripts\Authentication;
109
use Cartalyst\Sentinel\Checkpoints\NotActivatedException;
1110
use Cartalyst\Sentinel\Checkpoints\ThrottlingException;
12-
use Cartalyst\Sentinel\Sentinel;
1311
use Illuminate\Http\JsonResponse;
1412
use Illuminate\Http\RedirectResponse;
1513
use Illuminate\Http\Request;
@@ -39,7 +37,7 @@ public function render(Request $request): View
3937
/**
4038
* Handle the user signin
4139
*/
42-
public function signin(SignInRequest $request, Authentication $script): JsonResponse
40+
public function signin(Request $request, Authentication $script): JsonResponse
4341
{
4442
try {
4543
$user = $script->authenticate($request->get('username'), $request->get('password'));

app/Http/Requests/SignInRequest.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)