hi
Adding a new api to get user extra properties is the easiest.
hi
What's the user name of develop that you want to add?
Question 2: Could I remove the confirm option after customer register successfully? How could I do for it?
You can override the RegisterModel
of account pro module.
hi
Is it the default by ABP Vnext? Confirm email/phone after register successfully.
Register.cshtml.cs
if (await SettingProvider.IsTrueAsync(IdentitySettingNames.SignIn.RequireConfirmedEmail) && !user.EmailConfirmed ||
await SettingProvider.IsTrueAsync(IdentitySettingNames.SignIn.RequireConfirmedPhoneNumber) && !user.PhoneNumberConfirmed)
{
return RedirectToPage("./ConfirmUser");
}
We have a fix about ConfirmUser
in 4.3.2 that will be release today or tomorrow. You can upgrade it.
hi
I think you can create an API to return the extra properties of the current user, because some extra properties may be secret and you should handle it yourself.
hi @albert
What do you think?
hi
I think we can't confirm the current user and its group before it is logged in, right? If so, we can't provide the different page.
hi
hi
it gets failed
What's the error?
hi
You can consider skipping this test, or prepare a test database for this method.