Skip to content

Commit 8a7c4eb

Browse files
committed
docs(login): drop stale A1 thread-in reference in phone-gate comment
1 parent 883ef6d commit 8a7c4eb

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

app/modules/i18n/locales/en.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ msgstr "Additional verification is required to continue."
6464
msgid "Already have an account?"
6565
msgstr "Already have an account?"
6666

67-
#: app/routes/login/index.tsx:268
67+
#: app/routes/login/index.tsx:269
6868
msgid "An account with this email already exists — sign in to continue."
6969
msgstr "An account with this email already exists — sign in to continue."
7070

@@ -169,7 +169,7 @@ msgstr "Choose how to sign in"
169169
msgid "Choose how you want to verify your identity."
170170
msgstr "Choose how you want to verify your identity."
171171

172-
#: app/routes/login/index.tsx:264
172+
#: app/routes/login/index.tsx:265
173173
msgid "Choose your login method"
174174
msgstr "Choose your login method"
175175

@@ -191,7 +191,7 @@ msgid "Connected accounts"
191191
msgstr "Connected accounts"
192192

193193
#: app/routes/device/index.tsx:73
194-
#: app/routes/login/index.tsx:345
194+
#: app/routes/login/index.tsx:346
195195
#: app/routes/signup/index.tsx:273
196196
msgid "Continue"
197197
msgstr "Continue"
@@ -216,7 +216,7 @@ msgstr "Couldn't sign in"
216216
msgid "Create a new account"
217217
msgstr "Create a new account"
218218

219-
#: app/routes/login/index.tsx:376
219+
#: app/routes/login/index.tsx:377
220220
#: app/routes/signup/password.tsx:207
221221
msgid "Create account"
222222
msgstr "Create account"
@@ -238,8 +238,8 @@ msgstr "Device code"
238238
msgid "Device denied"
239239
msgstr "Device denied"
240240

241-
#: app/routes/login/index.tsx:221
242-
#: app/routes/login/index.tsx:318
241+
#: app/routes/login/index.tsx:222
242+
#: app/routes/login/index.tsx:319
243243
#: app/routes/signup/index.tsx:234
244244
#: app/routes/signup/index.tsx:259
245245
msgid "Email"
@@ -249,7 +249,7 @@ msgstr "Email"
249249
msgid "Email code"
250250
msgstr "Email code"
251251

252-
#: app/routes/login/index.tsx:354
252+
#: app/routes/login/index.tsx:355
253253
#: app/routes/login/method.tsx:117
254254
#: app/routes/signup/method.tsx:266
255255
msgid "Email me a sign-in link"
@@ -271,7 +271,7 @@ msgstr "Email OTP"
271271
msgid "Email sign-in isn't available — use your username."
272272
msgstr "Email sign-in isn't available — use your username."
273273

274-
#: app/routes/login/index.tsx:220
274+
#: app/routes/login/index.tsx:221
275275
msgid "Email, phone, or username"
276276
msgstr "Email, phone, or username"
277277

@@ -377,7 +377,7 @@ msgstr "No sign-in method is available for this account."
377377
msgid "No signed-in accounts."
378378
msgstr "No signed-in accounts."
379379

380-
#: app/routes/login/index.tsx:374
380+
#: app/routes/login/index.tsx:375
381381
msgid "Not registered?"
382382
msgstr "Not registered?"
383383

@@ -397,7 +397,7 @@ msgstr "or"
397397
msgid "Or import this URI in your authenticator app"
398398
msgstr "Or import this URI in your authenticator app"
399399

400-
#: app/routes/login/index.tsx:299
400+
#: app/routes/login/index.tsx:300
401401
#: app/routes/login/method.tsx:102
402402
#: app/routes/setup/mfa.tsx:46
403403
msgid "Passkey"
@@ -433,7 +433,7 @@ msgstr "Password must contain an uppercase letter."
433433
msgid "Password sign-in isn't available for this account."
434434
msgstr "Password sign-in isn't available for this account."
435435

436-
#: app/routes/login/index.tsx:223
436+
#: app/routes/login/index.tsx:224
437437
msgid "Phone"
438438
msgstr "Phone"
439439

@@ -570,7 +570,7 @@ msgstr "Sign in with LDAP"
570570
msgid "Sign out"
571571
msgstr "Sign out"
572572

573-
#: app/routes/login/index.tsx:364
573+
#: app/routes/login/index.tsx:365
574574
msgid "Sign-in is currently unavailable for this account. Please contact your administrator."
575575
msgstr "Sign-in is currently unavailable for this account. Please contact your administrator."
576576

@@ -706,7 +706,7 @@ msgstr "Use your passkey to verify your identity."
706706
msgid "Use your security key to verify your identity."
707707
msgstr "Use your security key to verify your identity."
708708

709-
#: app/routes/login/index.tsx:224
709+
#: app/routes/login/index.tsx:225
710710
#: app/routes/sso/ldap.tsx:73
711711
msgid "Username"
712712
msgstr "Username"
@@ -780,7 +780,7 @@ msgstr "We've sent a password reset link to <0>{0}</0>"
780780
msgid "We've sent a verification link to <0>{0}</0>"
781781
msgstr "We've sent a verification link to <0>{0}</0>"
782782

783-
#: app/routes/login/index.tsx:261
783+
#: app/routes/login/index.tsx:262
784784
msgid "Welcome"
785785
msgstr "Welcome"
786786

app/routes/login/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ export async function action({ request }: ActionFunctionArgs) {
159159
const { loginName, requestId, organization } = parsed.data;
160160

161161
// Strict phone rejection (server-side) when the org disables phone login. Org-first: an explicit
162-
// org wins (resolveOrg preserves it — A1's thread-in normally guarantees one here), else the
163-
// default org — matching the old app's `organization ?? getDefaultOrg()` on every settings read.
162+
// org wins (resolveOrg preserves it), else the default org — matching the old app's
163+
// `organization ?? getDefaultOrg()` on every settings read. This is a display/policy read, so the
164+
// default-org fallback is intentional here — unlike the user-lookup path, which stays explicit-only.
164165
const settings = await provider.getLoginSettings(await resolveOrg(provider, organization));
165166
if (resolveIdentifierField(settings).rejectPhone && isPhoneLike(loginName)) {
166167
return data({ error: 'PHONE_LOGIN_DISABLED' }, { status: 400 });

0 commit comments

Comments
 (0)