Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Soulis's avatar

Laravel Breeze Forgot Password option not working

Hello!

I'm a new laravel developer making a small CRUD app with Laravel 10.42.0, Breeze 1.29 with PHP 8.2.16.

I installed Breeze too and manage to complete without any issue the login/logout and user email verifycation after signup with a new user but when I try the option "Forgot Password" I get this error:

app/Http/Controllers/Auth/PasswordResetLinkController.php: 38 => Undefined array key "table" /** * Handle an incoming password reset link request. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\RedirectResponse * * @throws \Illuminate\Validation\ValidationException */ public function store(Request $request) { $request->validate([ 'email' => ['required', 'email'], ]);

    // We will send the password reset link to this user. Once we have attempted
    // to send the link, we will examine the response then see the message we
    // need to show to the user. Finally, we'll send out a proper response.
    $status = Password::sendResetLink(
        $request->only('email')
    );

    return $status == Password::RESET_LINK_SENT
        ? back()->with('status', __($status))
        : back()->withInput($request->only('email'))
            ->withErrors(['email' => __($status)]);

}

}

This is the /resources/views/auth/forgot-password.blade.php:

<form action="{{ route('password.email') }}" method="post" class="w-[400px] mx-auto p-6 my-16">
    @csrf
    <h2 class="text-2xl font-semibold text-center mb-5">
        Enter your Email to reset password
    </h2>

    <p class="text-center text-gray-500 mb-6">
        or
        <a
            href="{{ route('login') }}"
            class="text-purple-600 hover:text-purple-500"
        >
            login with existing account
        </a>
    </p>

    <x-auth-session-status class="mb-4" :status="session('status')"/>

    <div class="mb-3">
        <x-text-input
            id="email"
            type="email"
            name="email"
            :value="old('email')"
            required
            autofocus
            placeholder="Enter your Email Address"/>
    </div>
    <button
        class="btn-primary bg-emerald-500 hover:bg-emerald-600 active:bg-emerald-700 w-full"
    >
        Email Password Reset Link
    </button>
</form>

If anyone can help me I would more than greatful to recieve such help.

I've been stuck for days just with this and I need to complete it.

Pls let me know if somene need more details.

Ty.

0 likes
0 replies

Please or to participate in this conversation.