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: route('dashboard', ['country' => str(session('lang_country', config('app.domain_country')))->after('-')->lower()], absolute: false), navigate: true); } }; ?>
{{ __('Confirm') }}