0
hashmi1979 created
Hi Team, I am new to ABP, I am not able to change the default landing page of MVC application. when I run the application its showing Home Page with ABP Documentation, I want the default page to be the Login page. I looked everywhere and could not find the place where the default is configured.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
1 Answer(s)
-
0
Hi,
You can update the
IndexModelclass:public class IndexModel : .... { public IActionResult OnGet() { if(!CurrentUser.IsAuthenticated) { return RedirectToPage("/Account/Login"); } return Page(); } }Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)