Dynamic user profile per tenant

This commit is contained in:
Shaun Walker
2019-09-03 20:39:29 -04:00
parent da890f32d1
commit 1e4c07889b
25 changed files with 558 additions and 155 deletions

View File

@ -7,7 +7,7 @@
<text>...</text>
</Authorizing>
<Authorized>
<button type="button" class="btn btn-primary" @onclick="@RegisterUser">@context.User.Identity.Name</button>
<button type="button" class="btn btn-primary" @onclick="@UpdateProfile">@context.User.Identity.Name</button>
</Authorized>
<NotAuthorized>
<button type="button" class="btn btn-primary" @onclick="@RegisterUser">Register</button>
@ -21,6 +21,11 @@
{
UriHelper.NavigateTo(NavigateUrl("register"));
}
private void UpdateProfile()
{
UriHelper.NavigateTo(NavigateUrl("profile"));
}
}