Open Closed

Redirect to Dashboard after login #3204


User avatar
0
AlderCove created
  • 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 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

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

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