mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-09-20 01:39:00 +00:00
10 lines
403 B
Plaintext
10 lines
403 B
Plaintext
<AuthorizeView>
|
|
<Authorized>
|
|
<span class="mx-3">@(context.User.Identity?.Name ?? "err_username_unknown")</span>
|
|
<a data-enhance="false" class="btn btn-link text-secondary-content" href="/Logout">Logout</a>
|
|
</Authorized>
|
|
<NotAuthorized>
|
|
<a data-enhance="false" class="hover:link text-secondary-content" href="/Login">Login</a>
|
|
</NotAuthorized>
|
|
</AuthorizeView>
|