Activities of "roberto.fiocchi"

In fact the implemented workflow is that the admin registers a user with name.surname@mydomain.com and only then can he access the web portal. This seems to me to be the only solution to block access to unauthorized domain users. Or are there other options?

Thanks

Hi,

I tried the code you suggested but it seems like it automatically registers the user which is not the behavior that i needed. I needed to block the user from self-registering no matter the origin (local or external provider). Digging through the code i might have found a solution:

public override async Task<IActionResult> OnGetAsync()
{
    ExternalProviders = await GetExternalProviders();
    if (!await CheckSelfRegistrationAsync())
    {
        //if (IsExternalLoginOnly)
        //{
        //    return await OnPostExternalLogin(ExternalLoginScheme);
        //}

        Alerts.Warning(L["SelfRegistrationDisabledMessage"]);
        return Page();
    }

    await TrySetEmailAsync();

    return Page();
}

protected override async Task<bool> CheckSelfRegistrationAsync()
{
    EnableLocalRegister = await SettingProvider.IsTrueAsync(AccountSettingNames.EnableLocalLogin) &&
                          await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled);

    //if (IsExternalLogin)
    //{
    //    return true;
    //}

    if (!EnableLocalRegister)
    {
        return false;
    }

    return true;
}

Is this a valid approach?

Thanks

Thansk fo reply.

From the issue you indicated I read that LeptonX has 3 layouts: Application, SideMenu and TopMenu.(ABP v.6) I need the Application layout

But now it seems to be no longer available, how can I restore it? https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=Blazor#updating-bundles-on-layout-changes

Hi,

If there is an option to prevent a new registration I expect that this will never happen and that the external provider will only be able to log in. How can I change the code to make my solution compliant?

Thanks,

We will await these fixes soon

Best Regards, Roberto

Hi,

We followed the guide you linked us, but we can't understand how to move the toolbar to the top of the page as shown by the next screenshot:

We would like to have a layout similar to the one in the lepton theme:

Can you help us on this?

Thanks

Using Blazor Wasm: Implement the real-time notification system already present in AspNetZero

P.S: We are having difficulties moving from AspNetZero to Abp framework with all of these features missing

Add comments or explanations to the implemented fix Example https://commercial.abp.io/releases/pr/16778

It would be nice to have a couple lines of description on what was done for each commit https://commercial.abp.io/releases/tag/8.1.0-rc.2

No, that's not what I want: I already know the top-menu layout, but that's not what I meant.

I want to add this feature in side menu layout Keeping the "side-menu layout" I want to move the toolbar on top and keep the menu on the left. The request is similar to this ticket (but I use blazor WASM instead of Angular): https://support.abp.io/QA/Questions/3746/LeptonX-Theme-Main-Header-Toolbar-in-Top-Main-Header-together-with-Main-Menu-in-Left-Sidebar

Using Blazor Wasm: Add a background worker to periodically clean old/expired audit logs from the DB, a feature already present in AspNetZero https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Audit-Logs#periodic-log-deletion

Showing 131 to 140 of 169 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 03, 2025, 07:01