R2 accounts in decePub: forgotten password, email by code, sessions, the theme kept with the login
Completion program R2, with PrivaPub's routes of the same release.
- Pages/PasswordRecovery.razor (/password-recovery): asks for a login or an address and shows the server's one
sentence; with ?rc= it takes the code out of the address bar at once, checks it and sets a new password. Login links
there ("Forgot your password?").
- Settings, the login: its email address with a verified badge, changed with the password and the code emailed to it
(DOtp), removed with the password; "Sign out everywhere" (every device and persona, asked first).
- A password change takes the new JWT PrivaPub answers and exchanges the persona's token again, since every persona
token ended with it.
- The theme kept with the login (PageSettings.SyncWithLogin, Settings > General): taken at sign-in and start-up once a
client saved it, saved 1.5 s after a change here, never posted back when nothing changed, never the language.
- Login, Setup and Join start the session through CascadingState.SignedIn, which takes the login's theme.
- 38 keys in both resx files; CLAUDE.md follows.
Verified: dotnet build decePubClient.csproj -c Release (0 errors, no new warnings).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WpVCoDeM1qUTRp4fXQdfof
This commit is contained in:
1 parent
fd2f2e7c65
commit
7d4b35f0d7
15 files changed
+1056
-17
No files matched your search
@@ -2285,4 +2285,118 @@
|
||||
<data name="Invitation link, for someone without a login here" xml:space="preserve">
|
||||
<value>Link d'invito, per chi non ha un accesso qui</value>
|
||||
</data>
|
||||
<data name="Forgot your password?" xml:space="preserve">
|
||||
<value>Hai dimenticato la password?</value>
|
||||
</data>
|
||||
<data name="Check your inbox" xml:space="preserve">
|
||||
<value>Controlla la posta in arrivo</value>
|
||||
</data>
|
||||
<data name="Give your login's username or its email address: if the login has a verified address, a link to choose a new password is sent to it." xml:space="preserve">
|
||||
<value>Indica il nome utente del tuo accesso o il suo indirizzo email: se l'accesso ha un indirizzo verificato, a quell'indirizzo arriva un link per scegliere una nuova password.</value>
|
||||
</data>
|
||||
<data name="or" xml:space="preserve">
|
||||
<value>oppure</value>
|
||||
</data>
|
||||
<data name="Email address" xml:space="preserve">
|
||||
<value>Indirizzo email</value>
|
||||
</data>
|
||||
<data name="Send the recovery link" xml:space="preserve">
|
||||
<value>Invia il link di recupero</value>
|
||||
</data>
|
||||
<data name="I remember it: sign in" xml:space="preserve">
|
||||
<value>Me la ricordo: accedi</value>
|
||||
</data>
|
||||
<data name="This recovery link doesn't work" xml:space="preserve">
|
||||
<value>Questo link di recupero non funziona</value>
|
||||
</data>
|
||||
<data name="A link works for one hour, and only once. Ask for a new one." xml:space="preserve">
|
||||
<value>Un link funziona per un'ora, e una volta sola. Chiedine uno nuovo.</value>
|
||||
</data>
|
||||
<data name="Ask for a new link" xml:space="preserve">
|
||||
<value>Chiedi un nuovo link</value>
|
||||
</data>
|
||||
<data name="Choose a new password" xml:space="preserve">
|
||||
<value>Scegli una nuova password</value>
|
||||
</data>
|
||||
<data name="Every device signed in to this login is signed out." xml:space="preserve">
|
||||
<value>Ogni dispositivo collegato a questo accesso viene disconnesso.</value>
|
||||
</data>
|
||||
<data name="If that account has an email address, a recovery link is on its way. It works for one hour." xml:space="preserve">
|
||||
<value>Se quell'accesso ha un indirizzo email, un link di recupero è in arrivo. Funziona per un'ora.</value>
|
||||
</data>
|
||||
<data name="Password changed: sign in with the new one." xml:space="preserve">
|
||||
<value>Password cambiata: accedi con quella nuova.</value>
|
||||
</data>
|
||||
<data name="verified" xml:space="preserve">
|
||||
<value>verificato</value>
|
||||
</data>
|
||||
<data name="not verified" xml:space="preserve">
|
||||
<value>non verificato</value>
|
||||
</data>
|
||||
<data name="Only a verified address can recover a forgotten password." xml:space="preserve">
|
||||
<value>Solo un indirizzo verificato permette di recuperare una password dimenticata.</value>
|
||||
</data>
|
||||
<data name="No email address yet: without one, a forgotten password can't be recovered." xml:space="preserve">
|
||||
<value>Ancora nessun indirizzo email: senza, una password dimenticata non si può recuperare.</value>
|
||||
</data>
|
||||
<data name="Enter the code sent to {0}." xml:space="preserve">
|
||||
<value>Inserisci il codice inviato a {0}.</value>
|
||||
</data>
|
||||
<data name="Code" xml:space="preserve">
|
||||
<value>Codice</value>
|
||||
</data>
|
||||
<data name="Verify" xml:space="preserve">
|
||||
<value>Verifica</value>
|
||||
</data>
|
||||
<data name="New email address" xml:space="preserve">
|
||||
<value>Nuovo indirizzo email</value>
|
||||
</data>
|
||||
<data name="Send the code" xml:space="preserve">
|
||||
<value>Invia il codice</value>
|
||||
</data>
|
||||
<data name="Remove the address" xml:space="preserve">
|
||||
<value>Togli l'indirizzo</value>
|
||||
</data>
|
||||
<data name="Change" xml:space="preserve">
|
||||
<value>Cambia</value>
|
||||
</data>
|
||||
<data name="Add an address" xml:space="preserve">
|
||||
<value>Aggiungi un indirizzo</value>
|
||||
</data>
|
||||
<data name="Every other device signed in to this login is signed out." xml:space="preserve">
|
||||
<value>Ogni altro dispositivo collegato a questo accesso viene disconnesso.</value>
|
||||
</data>
|
||||
<data name="Sign out everywhere" xml:space="preserve">
|
||||
<value>Esci ovunque</value>
|
||||
</data>
|
||||
<data name="Every device signed in to this login signs out, this one too, with every persona: for a lost device, or a session that isn't yours." xml:space="preserve">
|
||||
<value>Si esce da questo accesso su ogni dispositivo, anche questo, con ogni persona: per un dispositivo perso, o una sessione che non è tua.</value>
|
||||
</data>
|
||||
<data name="If that address can be used, a code is on its way to it. It works for one hour." xml:space="preserve">
|
||||
<value>Se quell'indirizzo si può usare, un codice è in arrivo. Funziona per un'ora.</value>
|
||||
</data>
|
||||
<data name="Email address verified." xml:space="preserve">
|
||||
<value>Indirizzo email verificato.</value>
|
||||
</data>
|
||||
<data name="Remove the email address?" xml:space="preserve">
|
||||
<value>Togliere l'indirizzo email?</value>
|
||||
</data>
|
||||
<data name="Without one, a forgotten password can't be recovered." xml:space="preserve">
|
||||
<value>Senza, una password dimenticata non si può recuperare.</value>
|
||||
</data>
|
||||
<data name="Email address removed." xml:space="preserve">
|
||||
<value>Indirizzo email tolto.</value>
|
||||
</data>
|
||||
<data name="Sign out everywhere?" xml:space="preserve">
|
||||
<value>Uscire ovunque?</value>
|
||||
</data>
|
||||
<data name="Every device and every persona of this login signs out, this one too. Signing in again takes the password." xml:space="preserve">
|
||||
<value>Ogni dispositivo e ogni persona di questo accesso escono, anche questo. Per rientrare serve la password.</value>
|
||||
</data>
|
||||
<data name="Wrong password." xml:space="preserve">
|
||||
<value>Password errata.</value>
|
||||
</data>
|
||||
<data name="Keep the theme the same on every device signed in to this login" xml:space="preserve">
|
||||
<value>Mantieni lo stesso tema su ogni dispositivo collegato a questo accesso</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -2285,4 +2285,118 @@
|
||||
<data name="Invitation link, for someone without a login here" xml:space="preserve">
|
||||
<value>Invitation link, for someone without a login here</value>
|
||||
</data>
|
||||
<data name="Forgot your password?" xml:space="preserve">
|
||||
<value>Forgot your password?</value>
|
||||
</data>
|
||||
<data name="Check your inbox" xml:space="preserve">
|
||||
<value>Check your inbox</value>
|
||||
</data>
|
||||
<data name="Give your login's username or its email address: if the login has a verified address, a link to choose a new password is sent to it." xml:space="preserve">
|
||||
<value>Give your login's username or its email address: if the login has a verified address, a link to choose a new password is sent to it.</value>
|
||||
</data>
|
||||
<data name="or" xml:space="preserve">
|
||||
<value>or</value>
|
||||
</data>
|
||||
<data name="Email address" xml:space="preserve">
|
||||
<value>Email address</value>
|
||||
</data>
|
||||
<data name="Send the recovery link" xml:space="preserve">
|
||||
<value>Send the recovery link</value>
|
||||
</data>
|
||||
<data name="I remember it: sign in" xml:space="preserve">
|
||||
<value>I remember it: sign in</value>
|
||||
</data>
|
||||
<data name="This recovery link doesn't work" xml:space="preserve">
|
||||
<value>This recovery link doesn't work</value>
|
||||
</data>
|
||||
<data name="A link works for one hour, and only once. Ask for a new one." xml:space="preserve">
|
||||
<value>A link works for one hour, and only once. Ask for a new one.</value>
|
||||
</data>
|
||||
<data name="Ask for a new link" xml:space="preserve">
|
||||
<value>Ask for a new link</value>
|
||||
</data>
|
||||
<data name="Choose a new password" xml:space="preserve">
|
||||
<value>Choose a new password</value>
|
||||
</data>
|
||||
<data name="Every device signed in to this login is signed out." xml:space="preserve">
|
||||
<value>Every device signed in to this login is signed out.</value>
|
||||
</data>
|
||||
<data name="If that account has an email address, a recovery link is on its way. It works for one hour." xml:space="preserve">
|
||||
<value>If that account has an email address, a recovery link is on its way. It works for one hour.</value>
|
||||
</data>
|
||||
<data name="Password changed: sign in with the new one." xml:space="preserve">
|
||||
<value>Password changed: sign in with the new one.</value>
|
||||
</data>
|
||||
<data name="verified" xml:space="preserve">
|
||||
<value>verified</value>
|
||||
</data>
|
||||
<data name="not verified" xml:space="preserve">
|
||||
<value>not verified</value>
|
||||
</data>
|
||||
<data name="Only a verified address can recover a forgotten password." xml:space="preserve">
|
||||
<value>Only a verified address can recover a forgotten password.</value>
|
||||
</data>
|
||||
<data name="No email address yet: without one, a forgotten password can't be recovered." xml:space="preserve">
|
||||
<value>No email address yet: without one, a forgotten password can't be recovered.</value>
|
||||
</data>
|
||||
<data name="Enter the code sent to {0}." xml:space="preserve">
|
||||
<value>Enter the code sent to {0}.</value>
|
||||
</data>
|
||||
<data name="Code" xml:space="preserve">
|
||||
<value>Code</value>
|
||||
</data>
|
||||
<data name="Verify" xml:space="preserve">
|
||||
<value>Verify</value>
|
||||
</data>
|
||||
<data name="New email address" xml:space="preserve">
|
||||
<value>New email address</value>
|
||||
</data>
|
||||
<data name="Send the code" xml:space="preserve">
|
||||
<value>Send the code</value>
|
||||
</data>
|
||||
<data name="Remove the address" xml:space="preserve">
|
||||
<value>Remove the address</value>
|
||||
</data>
|
||||
<data name="Change" xml:space="preserve">
|
||||
<value>Change</value>
|
||||
</data>
|
||||
<data name="Add an address" xml:space="preserve">
|
||||
<value>Add an address</value>
|
||||
</data>
|
||||
<data name="Every other device signed in to this login is signed out." xml:space="preserve">
|
||||
<value>Every other device signed in to this login is signed out.</value>
|
||||
</data>
|
||||
<data name="Sign out everywhere" xml:space="preserve">
|
||||
<value>Sign out everywhere</value>
|
||||
</data>
|
||||
<data name="Every device signed in to this login signs out, this one too, with every persona: for a lost device, or a session that isn't yours." xml:space="preserve">
|
||||
<value>Every device signed in to this login signs out, this one too, with every persona: for a lost device, or a session that isn't yours.</value>
|
||||
</data>
|
||||
<data name="If that address can be used, a code is on its way to it. It works for one hour." xml:space="preserve">
|
||||
<value>If that address can be used, a code is on its way to it. It works for one hour.</value>
|
||||
</data>
|
||||
<data name="Email address verified." xml:space="preserve">
|
||||
<value>Email address verified.</value>
|
||||
</data>
|
||||
<data name="Remove the email address?" xml:space="preserve">
|
||||
<value>Remove the email address?</value>
|
||||
</data>
|
||||
<data name="Without one, a forgotten password can't be recovered." xml:space="preserve">
|
||||
<value>Without one, a forgotten password can't be recovered.</value>
|
||||
</data>
|
||||
<data name="Email address removed." xml:space="preserve">
|
||||
<value>Email address removed.</value>
|
||||
</data>
|
||||
<data name="Sign out everywhere?" xml:space="preserve">
|
||||
<value>Sign out everywhere?</value>
|
||||
</data>
|
||||
<data name="Every device and every persona of this login signs out, this one too. Signing in again takes the password." xml:space="preserve">
|
||||
<value>Every device and every persona of this login signs out, this one too. Signing in again takes the password.</value>
|
||||
</data>
|
||||
<data name="Wrong password." xml:space="preserve">
|
||||
<value>Wrong password.</value>
|
||||
</data>
|
||||
<data name="Keep the theme the same on every device signed in to this login" xml:space="preserve">
|
||||
<value>Keep the theme the same on every device signed in to this login</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in new issue
Block a user