validate([ 'password' => ['required', 'string'], ]); if (! Auth::guard('web')->validate([ 'email' => Auth::user()->email, 'password' => $this->password, ])) { throw ValidationException::withMessages([ 'password' => __('auth.password'), ]); } session(['auth.password_confirmed_at' => time()]); $this->redirectIntended(default: RouteServiceProvider::HOME, navigate: true); } }; ?>
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
{{ __('Confirm') }}