[BindProperty(SupportsGet = true)] public string Type {get; set;}
how can I add a registration form to the login page? I added the if-else condition but don't know-how will add the registration form code.
@if (Model.Type == "register")
{
<div>....</div>
}else{
<div>....</div>
}Thanks for the reply do I need to add registration.cshtml page code to the custom login page if yes then on the same page can't add two models right?
I have account pro code so what needs to do to show the registration form. Please let me know.
Thanks,
This is my login.cshtml page and myregistermodel
Login.cshtml.cs page code but the problem is if I click on registration button I am not getting value in Type variable
@if (Model.Type == "register") { <div>....</div> }else{ <div>....</div> }
Thanks for the reply do I need to add registration.cshtml page code to the custom login page if yes then on the same page can't add two models right?
I have account pro code so what needs to do to show the registration form. Please let me know.
Thanks,
my-second-page
Hi
In my application two roles are present and I want to show this page to admin role only so how can I manage this.
This is a custom logic and not related to ABP. You can write a middleware or use some other approaches.
okay can u please let me know how can I hide or delete this line
my-second-page
Hi
In my application two roles are present and I want to show this page to admin role only so how can I manage this.
Hi,
Find the
<YourProject>BrandingProvider
[Dependency(ReplaceServices = true)] public class MyProjectNameBrandingProvider : DefaultBrandingProvider { public override string LogoUrl => ""; public override string LogoReverseUrl => ""; public override string AppName => ....; }
Hi
Can you please check this https://support.abp.io/QA/Questions/2901/How-can-I-set-a-landing-page-for-admin-in-Abp-io
Hi
I tried this solution @page "/" and use this line to call my page @page "/daily-round-tables" but after that getting error in the console. It's not working can you please help me in this.
Thanks,