Skip to content

Commit

Permalink
Fixed user reset issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Apr 28, 2023
1 parent 289764c commit 08c2904
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/Auth/Reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use App\Abstracts\Http\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
use Illuminate\Http\Request as BaseRequest;
use App\Http\Requests\Auth\Reset as Request;
use Illuminate\Support\Facades\Password;
use Illuminate\Support\Str;
Expand All @@ -29,7 +30,7 @@ public function __construct()
$this->middleware('guest');
}

public function create(Request $request, $token = null)
public function create(BaseRequest $request, $token = null)
{
return view('auth.reset.create')->with(
['token' => $token, 'email' => $request->email]
Expand Down

0 comments on commit 08c2904

Please sign in to comment.