🐛 Fix newly create account's auth factor has not been activated.
This commit is contained in:
parent
de64f64c0e
commit
4bae2ea427
@ -106,7 +106,8 @@ public class AccountController(
|
|||||||
new AccountAuthFactor
|
new AccountAuthFactor
|
||||||
{
|
{
|
||||||
Type = AccountAuthFactorType.Password,
|
Type = AccountAuthFactorType.Password,
|
||||||
Secret = request.Password
|
Secret = request.Password,
|
||||||
|
EnabledAt = SystemClock.Instance.GetCurrentInstant()
|
||||||
}.HashSecret()
|
}.HashSecret()
|
||||||
},
|
},
|
||||||
Profile = new Profile()
|
Profile = new Profile()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user