Skip to content

Commit 50d1ab5

Browse files
committed
Remove RouteServiceProvider usage
1 parent dc771c7 commit 50d1ab5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Http/Controllers/Auth/ConfirmablePasswordController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace App\Http\Controllers\Auth;
44

55
use App\Http\Controllers\Controller;
6-
use App\Providers\RouteServiceProvider;
76
use Illuminate\Http\Request;
87
use Illuminate\Support\Facades\Auth;
98
use Illuminate\Validation\ValidationException;
@@ -39,6 +38,6 @@ public function store(Request $request)
3938

4039
$request->session()->put('auth.password_confirmed_at', time());
4140

42-
return redirect()->intended(RouteServiceProvider::HOME);
41+
return redirect()->intended(route('home'));
4342
}
4443
}

0 commit comments

Comments
 (0)