खुला हुआ बंद किया हुआ

How to change the default page to a login page? #5527


User avatar
0
lizhaofeng बनाया था
  • ABP Framework version: v7.3.0
  • UI Type:Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Steps to reproduce the issue:

How to set up a multi-layered Blazor service project to open with a login page by default, and how to configure it to return to the login page upon logout?


2 उत्तर (ओं)
  • User Avatar
    0
    liangshiwei बनाया था
    सहायता दल Fullstack Developer

    Hi,

    You can try to add the @attribute [Authorize] attribute to the index page.

  • User Avatar
    0
    lizhaofeng बनाया था

    hi,liangshiwei

    it works fine,thx

Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11