feat(auth): replace TOTP with phone-first login

This commit is contained in:
2026-07-28 17:39:29 +08:00
parent e7d350ec3d
commit c7f9a4e3c9
43 changed files with 18386 additions and 882 deletions

View File

@@ -54,7 +54,7 @@ if (bootstrapOptions is not null)
{
var bootstrapper = ActivatorUtilities.CreateInstance<PlatformAdminBootstrapper>(scope.ServiceProvider);
var result = await bootstrapper.BootstrapAsync(bootstrapOptions);
Console.WriteLine($"Platform administrator '{result.Email}' was created and must change the temporary password and enroll MFA at first sign-in.");
Console.WriteLine($"Platform administrator '{result.Email}' was created and must change the temporary password at first sign-in.");
}
static string RequiredBootstrapSetting(IConfiguration configuration, string key)