Open Closed

How to configure so automatically goes to login page if not logged in rather than going to home page / index.html and having to click login #8285


User avatar
0
dazza_74 created

How to configure so automatically goes to login page if not logged in rather than going to home page / index.html and having to click login

  • ABP Framework version: v8.3 and v9.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    you add [Authorize] attribute to the page model.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11