You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(auth/i18n): localised, tenant-customisable phone SMS texts (#2815)
- phone-sms-texts.ts: built-in en/zh bodies for auth.phone_otp /
auth.phone_invite, {{hole}} interpolation (same semantics as the
messaging renderer, kept dependency-free), locale chain
(zh-CN -> zh -> en), best-effort sys_notification_template loader, and
an insert-if-missing seeder (tenant edits never overwritten)
- auth-manager: deliverPhoneOtp/sendPhoneInviteSms render through the
template-then-builtin resolution; setDefaultSmsLocale() mirrors
setAppName(); OTP wording is now purpose-neutral (one provider template
covers sign-in and reset; the SMS reveals nothing about what the code
unlocks)
- auth-plugin: binds localization.locale (live re-bind on settings
changes) and seeds the built-in template rows at kernel:ready when
phone sign-in is enabled
Template lookups are best-effort - an outage never blocks an OTP send.
No-OTP-in-logs red line unchanged.
Closes#2815
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013LXUXU66dBaP3SSG4ZVtuH
* docs(auth): SMS text customisation & localisation section (#2815)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013LXUXU66dBaP3SSG4ZVtuH
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments