Otvoriť Uzavreté

Redirect to Dashboard after login #3204


User avatar
0
AlderCove vytvorené
  • ABP Framework version: v5.1.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Hi

For our public website (MVC) project, the users should be directed to the dashboard after successfully logging in, instead of the default home page (index). We don't want them to always be redirected (as described here https://support.abp.io/QA/Questions/2011/Abp-Routing), just after the initial login. The user should be able to navigate to the home page after logging in without being redirected to the dashboard.

Can you please provide some assistance?

Thanks


1 odpoveď(e)/dí
  • User Avatar
    0
    gterdem vytvorené
    Tím podpory Senior .NET Developer

    You can modify your login button with returnUrl=/Dashboard.

Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11