'Neues Passwort vergeben', 'eyebrow' => 'Passwort zurücksetzen'])] class extends Component { #[Locked] public string $token = ''; public string $email = ''; public string $password = ''; public string $password_confirmation = ''; /** * Mount the component. */ public function mount(string $token): void { $this->token = $token; $this->email = request()->string('email'); } /** * Reset the password for the given user. */ public function resetPassword(): void { $this->validate([ 'token' => ['required'], 'email' => ['required', 'string', 'email'], 'password' => ['required', 'string', 'confirmed', Rules\Password::defaults()], ]); $status = Password::reset( $this->only('email', 'password', 'password_confirmation', 'token'), function ($user) { $user->forceFill([ 'password' => Hash::make($this->password), 'remember_token' => Str::random(60), ])->save(); event(new PasswordReset($user)); } ); if ($status != Password::PasswordReset) { $this->addError('email', __($status)); return; } Session::flash('status', __($status)); $this->redirectRoute('login', navigate: true); } }; ?>

Vergeben Sie ein neues Passwort für Ihr Konto. Mindestens 8 Zeichen, idealerweise eine Kombination aus Buchstaben, Zahlen und Sonderzeichen.

@error('email')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror