feat(auth)!: codes by mail no longer sign in
ADR 0017, step 3 (D4: nobody signs in with email codes yet, so the password replaces them outright). `emailCode.verifyCode`, `emailSignIn.signIn` and the switch token go, with the register's `verifySignInCode` and `completeEmailSwitch` and their operations between services. `emailCode.sendCode` stays, now without a session (signing up and getting back in have none), as what proves an address for a password's setup, a sign-up, a setup never finished and the resets; `accountRecovery.sendCode`, which did that for the resets, goes. The `switchChallengeId` column stays: Serverpod's challenges still link a completion token, and older servers read it during a deploy. The apps: halkyon_app's email sign-in (its bloc, sheet, gateway calls and the start screen's Continue with email) goes; Learn's profile and Todo's account sheet show `AccountSecuritySection` (a password set up by someone anonymous or signing in with GitHub, whose end it names; the authenticators; changing the password; new recovery codes and phrase), which reads anew after every change the repository makes. BREAKING CHANGE: Learn's `minimumAppBuild` is 22: builds up to 21 sign in with the endpoints that went. Todo was never released and stays at build 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
735dfa892a
commit
ae57cbe864
1 changed files with 429 additions and 3835 deletions
|
|
@ -2872,12 +2872,6 @@ abstract class AppLocalizations {
|
|||
/// **'Switch'**
|
||||
String get profileSwitchConfirm;
|
||||
|
||||
/// No description provided for @profileContinueWithEmail.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Continue with email'**
|
||||
String get profileContinueWithEmail;
|
||||
|
||||
/// No description provided for @profileSignInWays.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -2908,156 +2902,18 @@ abstract class AppLocalizations {
|
|||
/// **'Add GitHub'**
|
||||
String get profileAddGitHub;
|
||||
|
||||
/// No description provided for @profileAddEmail.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Add an email address'**
|
||||
String get profileAddEmail;
|
||||
|
||||
/// No description provided for @profileGitHubTaken.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This GitHub account already signs in to another account.'**
|
||||
String get profileGitHubTaken;
|
||||
|
||||
/// No description provided for @emailSignInTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Continue with email'**
|
||||
String get emailSignInTitle;
|
||||
|
||||
/// No description provided for @emailSignInIntro.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'We mail you a code to sign in. This instance keeps only a fingerprint of your address, never the address itself, and writes to it only when you ask for a code.'**
|
||||
String get emailSignInIntro;
|
||||
|
||||
/// No description provided for @emailSignInAddress.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Email address'**
|
||||
String get emailSignInAddress;
|
||||
|
||||
/// No description provided for @emailSignInSend.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Send code'**
|
||||
String get emailSignInSend;
|
||||
|
||||
/// No description provided for @emailSignInCodeSent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'We mailed a code to {address}. It\'s valid for 15 minutes.'**
|
||||
String emailSignInCodeSent(String address);
|
||||
|
||||
/// No description provided for @emailSignInResent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'A new code is on its way.'**
|
||||
String get emailSignInResent;
|
||||
|
||||
/// No description provided for @emailSignInCode.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Code'**
|
||||
String get emailSignInCode;
|
||||
|
||||
/// No description provided for @emailSignInContinue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Continue'**
|
||||
String get emailSignInContinue;
|
||||
|
||||
/// No description provided for @emailSignInResend.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Send a new code'**
|
||||
String get emailSignInResend;
|
||||
|
||||
/// No description provided for @emailSignInOtherAddress.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Use another address'**
|
||||
String get emailSignInOtherAddress;
|
||||
|
||||
/// No description provided for @emailSignInSwitchTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Switch to the account of {address}?'**
|
||||
String emailSignInSwitchTitle(String address);
|
||||
|
||||
/// No description provided for @emailSignInSwitchMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This address already has progress from another device. The studysets on this device can\'t be combined with it yet: if you switch, they are deleted.'**
|
||||
String get emailSignInSwitchMessage;
|
||||
|
||||
/// No description provided for @emailSignInTaken.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{address} already signs in to another account. To switch to it, sign out first.'**
|
||||
String emailSignInTaken(String address);
|
||||
|
||||
/// No description provided for @emailSignInDone.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Signed in with {address}.'**
|
||||
String emailSignInDone(String address);
|
||||
|
||||
/// No description provided for @emailSignInUnavailable.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This instance doesn\'t offer signing in with email.'**
|
||||
String get emailSignInUnavailable;
|
||||
|
||||
/// No description provided for @emailSignInNotAnAddress.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This isn\'t an email address.'**
|
||||
String get emailSignInNotAnAddress;
|
||||
|
||||
/// No description provided for @emailSignInTooManyCodes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Too many codes in the last hour. Try again later.'**
|
||||
String get emailSignInTooManyCodes;
|
||||
|
||||
/// No description provided for @emailSignInWrongCode.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'That code isn\'t right.'**
|
||||
String get emailSignInWrongCode;
|
||||
|
||||
/// No description provided for @emailSignInTooManyTries.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Too many wrong codes. Ask for a new one.'**
|
||||
String get emailSignInTooManyTries;
|
||||
|
||||
/// No description provided for @emailSignInCodeExpired.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This code is no longer valid. Ask for a new one.'**
|
||||
String get emailSignInCodeExpired;
|
||||
|
||||
/// No description provided for @emailSignInOtherAddressLinked.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'You already sign in with another address.'**
|
||||
String get emailSignInOtherAddressLinked;
|
||||
|
||||
/// No description provided for @emailSignInFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Couldn\'t reach the instance. Try again.'**
|
||||
String get emailSignInFailed;
|
||||
|
||||
/// No description provided for @emailSignInMailFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The instance couldn\'t send the mail. Try again later.'**
|
||||
String get emailSignInMailFailed;
|
||||
|
||||
/// No description provided for @publicProfileTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
|
|||
Loading…
Reference in a new issue