Activities of "maliming"

You can compare the code to see. I'm not sure.

Hi

How about this?

https://support.abp.io/QA/Questions/1642/Is-there-a-way-to-bypass-Tenant-for-Translations#answer-eea69656-8bb0-af79-e8fb-39fe16c17820

hi

Can you check the AbpFeatureValues table?

Also clear the cache.

hi

You can check this, https://gist.github.com/jmichas/dab35d9b8e916eae8936322465d76b66

hi

Is it correct that redirect_uri does not have a port?

hi

You can consider overriding the login page. https://support.abp.io/QA/Questions/160/How-to-customize-an-ABP-project

hi

You can try to always switch to host in DynamicLocalizationResourceContributor


public class DynamicLocalizationResourceContributor : ILocalizationResourceContributor
{
    protected LocalizationResource Resource;
    protected IDynamicResourceLocalizer DynamicResourceLocalizer;

    public void Initialize(LocalizationResourceInitializationContext context)
    {
        Resource = context.Resource;
        DynamicResourceLocalizer = context.ServiceProvider.GetRequiredService<IDynamicResourceLocalizer>();
    }

    public LocalizedString GetOrNull(string cultureName, string name)
    {
        using (CurrentTenant.Change(null))
        {
            return DynamicResourceLocalizer.GetOrNull(Resource, cultureName, name);
        }
    }

    public void Fill(string cultureName, Dictionary<string, LocalizedString> dictionary)
    {
        using (CurrentTenant.Change(null))
        {
            DynamicResourceLocalizer.Fill(Resource, cultureName, dictionary);
        }
    }
}


👍

hi

You can check this. I copied the code from base.

protected async override Task<IdentityUser> RegisterLocalUserAsync()
{
    var userDto = await RegisterLocalUser2Async();
    var user = await UserManager.GetByIdAsync(userDto.Id);

    user.Name = Input.FirstName;
    user.Surname = Input.LastName;

    (await UserManager.UpdateAsync(user)).CheckErrors();

    return user;
}

protected virtual async Task<IdentityUser> RegisterLocalUser2Async()
{
    ValidateModel();

    var captchaResponse = string.Empty;
    if (UseCaptcha)
    {
        captchaResponse = HttpContext.Request.Form[RecaptchaValidatorBase.RecaptchaResponseKey];
    }
    var userDto = await AccountAppService.RegisterAsync(
        new RegisterDto
        {
            AppName = "MVC",
            EmailAddress = Input.EmailAddress,
            Password = Input.Password,
            UserName = Input.FirstName + Input.LastName,
            ReturnUrl = ReturnUrl,
            ReturnUrlHash = ReturnUrlHash,
            CaptchaResponse = captchaResponse
        }
    );

    return await UserManager.GetByIdAsync(userDto.Id);
}

You need to include your navigation entity.

https://support.abp.io/QA/Questions/2301#answer-c47f204b-9a58-626b-5c6a-3a00e7a19105

Showing 6781 to 6790 of 8477 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11