Activities of "maliming"

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?

hi trendline

Can you share full steps to reproduce?

Can you test the EmailSendDemo console app on your server?

Showing 7131 to 7140 of 8966 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 16, 2025, 11:47