Starts in:
1 DAY
0 HR
11 MIN
6 SEC
Starts in:
1 D
0 H
11 M
6 S

Activities of "safi"

Solved

Now, forgot password is not working.

you needed change it, replace <the URL what you want to redirect> with the URL you want.

// this line  
return Redirect("<the URL what you want to redirect>"); 

Also user is not inserting into db table so please help

return Redirect("<the URL what you want to redirect>");

Yes I changed but still not able to debug this method also it's going to swagger link

Can you share your code?

Hi

Shared code files in mail also shared appsettings as well.

Are you checking my code?

Can you share your code?

Hi

Shared code files in mail also shared appsettings as well.

Hi,

Sorry, I thought you were using the latest version.

For version 4.4.3

public class MyRegisterModel : RegisterModel 
{ 
 
    ...... 
    [UnitOfWork] 
    public async override Task<IActionResult> OnPostAsync() 
    { 
        try 
            { 
                await CheckSelfRegistrationAsync(); 
                await SetUseCaptchaAsync(); 
 
                IdentityUser user; 
                if (IsExternalLogin) 
                { 
                    var externalLoginInfo = await SignInManager.GetExternalLoginInfoAsync(); 
                    if (externalLoginInfo == null) 
                    { 
                        Logger.LogWarning("External login info is not available"); 
                        return RedirectToPage("./Login"); 
                    } 
 
                    user = await RegisterExternalUserAsync(externalLoginInfo, Input.EmailAddress); 
                } 
                else 
                { 
                    user = await RegisterLocalUserAsync(); 
                } 
 
                if (await SettingProvider.IsTrueAsync(IdentitySettingNames.SignIn.RequireConfirmedEmail) && !user.EmailConfirmed || 
                    await SettingProvider.IsTrueAsync(IdentitySettingNames.SignIn.RequireConfirmedPhoneNumber) && !user.PhoneNumberConfirmed) 
                { 
                    await StoreConfirmUser(user); 
 
                    return RedirectToPage("./ConfirmUser", new 
                    { 
                        returnUrl = ReturnUrl, 
                        returnUrlHash = ReturnUrlHash 
                    }); 
                } 
 
                await SignInManager.SignInAsync(user, isPersistent: true); 
 
                // this line  
                return Redirect("the URL what you want to redirect"); 
            } 
            catch (BusinessException e) 
            { 
                Alerts.Danger(GetLocalizeExceptionMessage(e)); 
                return Page(); 
            } 
    } 
} 

I have added debugger in this but not working debugger here directly going in swagger link

Email is not working now also after registration it's going to swagger link.

Solved

After adding ABP libs into the host project and changing the environment to the production site is not working. It's throwing a 500 error and If I check in the log file the getting below error

abp install-libs

I am using 4.4.3 abp version and it's installing the latest one so can we give version in this.

Hi liangshiwei

can u pls check this

abp install-libs

I am using 4.4.3 abp version and it's installing the latest one so can we give version in this.

Showing 101 to 110 of 286 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06