Skip to content

Commit

Permalink
fix: redirection issue
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul committed Aug 21, 2024
1 parent eb7cd05 commit 8a14b01
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Support\Facades\Password;
use Illuminate\View\View;
use Webkul\Admin\Http\Controllers\Controller;
use Webkul\Admin\Notifications\User\UserResetPassword;

Expand All @@ -15,7 +14,7 @@ class ForgotPasswordController extends Controller
/**
* Show the form for creating a new resource.
*/
public function create(): View
public function create()
{
if (auth()->guard('user')->check()) {
return redirect()->route('admin.dashboard.index');
Expand Down

0 comments on commit 8a14b01

Please sign in to comment.