[enisn] said: Hi,
does it have anything to do with the fact that im using the basic ui template?
I posted an article about that topic, you may want to follow this one for the basic theme: https://abp.io/community/articles/you-do-it-wrong-customizing-abp-login-page-correctly-bna7wzt5#gsc.tab=0
I'll look into this, will update when I've tried it out
[EngincanV] said:
Yes I've tried that. As i said in my original post, I tried overriding using the docs and following the method given, but even when i create a Login.cshtml page in my Pages directory under the Blazor project, it doesnt seem to redirect the mvc route to the new page i created. Do you have any solution for this.
Hi, I've tried just before with a new blazor server solution (non-tiered), and successfully overridden the page:
Can you please confirm that you created the
Login.cshtmlfile under the Account folder?
Hi Engincan,
Yes, i did exactly that but its still not working. does it have anything to do with the fact that im using the basic ui template?
Yes I've tried that. As i said in my original post, I tried overriding using the docs and following the method given, but even when i create a Login.cshtml page in my Pages directory under the Blazor project, it doesnt seem to redirect the mvc route to the new page i created. Do you have any solution for this.
I am building a Blazor server project, and i want to customise the login page. I have attempted to follow several online guides but none have actually yielded any results. These are some of the guides I've tried using.
https://stackoverflow.com/questions/78907251/how-to-customize-auth-pages-and-settings-abp-framework-blazor https://abp.io/community/articles/how-to-customize-the-login-page-of-an-abp-blazor-application-by4o9yms https://abp.io/support/questions/3217/How-can-I-customize-login-page-in-blazor-server-app
Perhaps these are just too old and out of date, so can anyone from the support team give me the method that works in 2025? As of now, it seems that cshtml pages created in a blazor project are ignored (cant even route to the page). Thank you
For context, im on ABP version 9.0.1, UI Blazor Server, EF Core with sql server, and untiered
                                
 
                            
