Base solution for your next web application
Open Closed

Pass TenantId as url parameter in login page #3462


User avatar
0
moustafa created

Hello i have a question related to project core with Angular2 (.net 4.6.1) How can i pass TenantId as url parameter (query string) in login page and register page? because i don't user to enter his tenant id as i'm going to hide choosing tenant section

thanks


2 Answer(s)
  • User Avatar
    0
    walkerscott created

    subscribing to updates on this one :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can check query string value here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/angular/src/account/account.component.ts#L36">https://github.com/aspnetzero/aspnet-ze ... ent.ts#L36</a> and hide tenant selection according to it's value.

    Thanks.