- ABP Framework version: v4.3.1
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:
I have two question about the register.
Question 1, Is it the default by ABP Vnext? Confirm email/phone after register successfully. I see the default setting is here
I use the abp suite to creat application template
Run angular client and public client, go to login, all login successfully and logout.
go to login page again, click the "Register" button to register new user
it was register successfully, but it ask me to confirm email/phone
And here is the link after register successfully:
https://localhost:44396/Account/ConfirmUser?returnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fresponse_type%3Dcode%26client_id%3Dlogintestregister_App%26state%3DfmktVXFTTXBXUlZLX2tFcGhNMUhVeWFfdXZDQXhXcWNDamZCWU9lX2hkYnpE%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A4200%26scope%3Doffline_access%2520openid%2520profile%2520role%2520email%2520phone%2520logintestregister%26code_challenge%3Do1RYIRbclZDZwJq-ylzZ42vu4yPav5Kxu180bF0ORcc%26code_challenge_method%3DS256%26nonce%3DfmktVXFTTXBXUlZLX2tFcGhNMUhVeWFfdXZDQXhXcWNDamZCWU9lX2hkYnpE
Question 2: Could I remove the confirm option after customer register successfully? How could I do for it? Or do we have any other option for the register successfully? Other pages? I do not want only stay the confirm page after register.
Thx
5 Answer(s)
-
0
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. -
0
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. -
0
Thx, I will try this shortly later.
-
0
It's should be working.
-
0
This question has been automatically marked as stale because it has not had recent activity.