From 4bae2ea427d4697b8f0c2e0e2f87a8bc600e57da Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 8 Jun 2025 19:46:29 +0800 Subject: [PATCH] :bug: Fix newly create account's auth factor has not been activated. --- DysonNetwork.Sphere/Account/AccountController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DysonNetwork.Sphere/Account/AccountController.cs b/DysonNetwork.Sphere/Account/AccountController.cs index 8e47642..c421220 100644 --- a/DysonNetwork.Sphere/Account/AccountController.cs +++ b/DysonNetwork.Sphere/Account/AccountController.cs @@ -106,7 +106,8 @@ public class AccountController( new AccountAuthFactor { Type = AccountAuthFactorType.Password, - Secret = request.Password + Secret = request.Password, + EnabledAt = SystemClock.Instance.GetCurrentInstant() }.HashSecret() }, Profile = new Profile()