mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-09-20 09:48:59 +00:00
6 lines
228 B
Plaintext
6 lines
228 B
Plaintext
@if (User.Identity?.IsAuthenticated is true) {
|
|
<span class="mx-3">@User.Identity.Name</span>
|
|
<a class="button is-ghost" asp-page="Logout">Logout</a>
|
|
} else {
|
|
<a class="button is-ghost" asp-page="Login">Login</a>
|
|
} |