Skip to content

Commit

Permalink
Merge pull request #89 from sebadob/show-account-link-after-password-…
Browse files Browse the repository at this point in the history
…reset

Show account link after password reset
  • Loading branch information
sebadob authored Oct 24, 2023
2 parents 8d9cdce + a9b020c commit ace4daf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/routes/users/{id}/reset/reset/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@
{t.success1}
<br>
{t.success2}
<br>
{t.success3}
<br>
<a href="/auth/v1/account">Account Login</a>
</div>
{/if}
{/if}
Expand Down
3 changes: 3 additions & 0 deletions rauthy-models/src/i18n/password_reset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub struct I18nPasswordReset<'a> {
save: &'a str,
success_1: &'a str,
success_2: &'a str,
success_3: &'a str,
success_passkey_1: &'a str,
success_passkey_2: &'a str,
}
Expand Down Expand Up @@ -71,6 +72,7 @@ about this, you may follow this link: "#,
save: "Save",
success_1: "The password has been updated successfully.",
success_2: "You will be redirected to your account shortly.",
success_3: "If you are not being redirected, please click here:",
success_passkey_1: "Your new passkey has been registered successfully.",
success_passkey_2: r#"Please log into your account and register a second backup key as
soon as possible. With a passkey only account, you wil not be able to use a password reset via
Expand Down Expand Up @@ -105,6 +107,7 @@ FIDO2 Standard gerecht wird. Für weitere Informationen können Sie diesem Link
save: "Speichern",
success_1: "Das Passwort wurde erfolgreich zurückgesetzt.",
success_2: "Sie werden in Kürze zu Ihrem Account weitergeleitet.",
success_3: "Sollte Sie nicht weitergeleitet werden, klicken Sie bitte hier:",
success_passkey_1: "Der neue Passkey wurde erfolgreich registriert.",
success_passkey_2: r#"Bitte loggen Sie sich direkt in Ihren Account ein und registrieren
Sie mindestens einen weiteren Backup Passkey. Ein passwortloser Account kann nicht den Passwort
Expand Down

0 comments on commit ace4daf

Please sign in to comment.