mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 00:57:59 +00:00
17 lines
561 B
Plaintext
17 lines
561 B
Plaintext
@using LightTube.Database
|
|
@if (Context.TryGetUser(out LTUser user, "web"))
|
|
{
|
|
<div class="guide-item"><a>@user.UserID.Split("@")[0]</a></div>
|
|
@if (user.PasswordHash != "local_account")
|
|
{
|
|
<div class="guide-item"><a href="/Account/Logins">Active logins</a></div>
|
|
}
|
|
<div class="guide-item"><a href="/Account/Logout">Log out</a></div>
|
|
}
|
|
else
|
|
{
|
|
<div class="guide-item"><a href="/Account/Login">Log in</a></div>
|
|
<div class="guide-item"><a href="/Account/Register">Register</a></div>
|
|
}
|
|
<div class="guide-item"><a href="/Account/Settings">Settings</a></div>
|