Starts in:
1 DAY
0 HR
2 MIN
51 SEC
Starts in:
1 D
0 H
2 M
51 S

Activities of "safi"

Hi,

You can try it first, I think it should be easy to do.

Can we check this pls

Is anyone there?

Hi,

You can try it first, I think it should be easy to do.

Can we check this pls

Hi,

.... 
public class MyRegisterModel : RegisterModel 
{ 
 
    ...... 
 
    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 
            { 
                var localLoginResult = await CheckLocalLoginAsync(); 
                if (localLoginResult != null) 
                { 
                    LocalLoginDisabled = true; 
                    return localLoginResult; 
                } 
 
                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(); 
        } 
    } 
} 

This method is not exist CheckLocalLoginAsync

abp install-libs

It's already installed in host project and after running getting above error

Hi,

You can try it first, I think it should be easy to do.

Getting this error

Are you there?

Hi,

You can try it first, I think it should be easy to do.

Getting this error

In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this. above command needs to run in command prompt

In your case, should be in the host project folder.

BTW, I remember that the lepton theme should be pre-installed when you use the ABP suite to create a new project.

how can I show lepton theme in host project

When you have done all things, it should be working.

Can we just connect for 5 mins on zoom?

In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this. above command needs to run in command prompt

In your case, should be in the host project folder.

BTW, I remember that the lepton theme should be pre-installed when you use the ABP suite to create a new project.

how can I show lepton theme in host project

When you have done all things, it should be working.

This is my host project packages

Package.json

@volo/abp.aspnetcore.mvc.ui.theme.lepton

It's already added in package.json

how can I show lepton theme in host project

Hi,

Sorry, I didn't get it, I think since you have the source code, you can do anything you want. of course, you can also change the redirect code.

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

I customized the code to show registration on the login screen but don't have the full code in the project. I have only below code

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