Activities of "maliming"

hi

Can you share this project with me? liming.ma@volosoft.com

hi

These angular parts are being researched and developed.

Did this setting work for you?

Require confirmed email Whether a confirmed email address is required to sign in.

HI

AntiForgery always checks when a request contains authentication cookies (AspNetCore.Identity.Application)

https://docs.abp.io/en/abp/latest/CSRF-Anti-Forgery

how i can return JSON not HTML if an error happened

The default behavior of cookies authentication scheme:

Return HTML(301) when authentication failed, Return 401 when authentication failed if the current request is ajax.

https://github.com/dotnet/aspnetcore/blob/e755f6017c1be34d25c9381af87f50d1b31abe40/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs#L41-L45 https://github.com/abpframework/abp/pull/9940

But nothing happened. When refreshing browser page, user is still login in system.

Do you mean Angular app still have the state?

hi

have you tried a brand new project?

hi

public override void PreConfigureServices(ServiceConfigurationContext context)
{
    PreConfigure<AbpAspNetCoreMvcOptions>(options =>
    {
        options.EnableRazorRuntimeCompilationOnDevelopment = false;
    });
}

https://github.com/abpframework/abp/pull/10947

You can set it in the constructor. and this is Entity not DTO.

You can add a MyEmailSender service, then copy the code from the EmailSendDemo to send the mail.

context.Services.Replace(ServiceDescriptor.Transient<IEmailSender, MyEmailSender>());

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/NullEmailSender.cs#L13

i created new project and publish in IIS but same error is thrown

Are you using a new database?

Showing 6641 to 6650 of 8478 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11