mirror of
https://github.com/miawinter98/just-short-it.git
synced 2025-04-05 01:19:54 +00:00
6 lines
266 B
Plaintext
6 lines
266 B
Plaintext
@if (User.Identity?.IsAuthenticated is true) {
|
|
<span class="mx-3">@User.Identity.Name</span>
|
|
<a class="btn btn-link text-secondary-content" asp-page="Logout">Logout</a>
|
|
} else {
|
|
<a class="hover:link text-secondary-content" asp-page="Login">Login</a>
|
|
} |