Passwort ändern
{#if success}
Passwort erfolgreich geändert.
{/if} {#if error}
{error}
{/if}
{ e.preventDefault(); handleSubmit(); }} >
Aktuelles Passwort
(showCurrentPassword = !showCurrentPassword)} class="password-toggle" aria-label={showCurrentPassword ? 'Passwort verbergen' : 'Passwort anzeigen'} > {#if showCurrentPassword}
{:else}
{/if}
Neues Passwort
0 && !passwordLongEnough} style:--ring-color={primaryColor} />
(showNewPassword = !showNewPassword)} class="password-toggle" aria-label={showNewPassword ? 'Passwort verbergen' : 'Passwort anzeigen'} > {#if showNewPassword}
{:else}
{/if}
{#if newPassword.length > 0 && !passwordLongEnough}
Mindestens 8 Zeichen
{:else}
Mindestens 8 Zeichen
{/if}
Neues Passwort bestätigen
0 && !passwordsMatch} style:--ring-color={primaryColor} />
(showConfirmPassword = !showConfirmPassword)} class="password-toggle" aria-label={showConfirmPassword ? 'Passwort verbergen' : 'Passwort anzeigen'} > {#if showConfirmPassword}
{:else}
{/if}
{#if confirmPassword.length > 0 && !passwordsMatch}
Passwörter stimmen nicht überein
{/if}
{loading ? 'Wird geändert...' : 'Passwort ändern'}