feat: refactor and refine authentication system with decoupled user management and admin console
This commit is contained in:
+2
-5
@@ -60,9 +60,9 @@
|
||||
Developers
|
||||
</a>
|
||||
<div class="h-4 w-px bg-secondary"></div>
|
||||
<span class="text-xs font-semibold px-2.5 py-1 rounded-full bg-secondary border border-border text-sky-400">
|
||||
<a href="/auth/password" class="text-xs font-semibold px-2.5 py-1.5 rounded-xl bg-secondary border border-border text-sky-400 hover:text-sky-300 hover:bg-secondary hover:border-sky-500/20 transition" title="Change Password">
|
||||
{{ username }}
|
||||
</span>
|
||||
</a>
|
||||
<form action="/auth/logout" method="post" class="inline">
|
||||
<button type="submit" class="text-sm font-medium text-rose-400 hover:text-rose-300 transition py-2 px-3 rounded-lg hover:bg-rose-950/20">
|
||||
Logout
|
||||
@@ -72,9 +72,6 @@
|
||||
<a href="/auth/login" class="text-sm font-medium text-muted-foreground hover:text-white transition py-2 px-3 rounded-lg hover:bg-secondary">
|
||||
Log In
|
||||
</a>
|
||||
<a href="/auth/register" class="text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-500 transition px-4 py-2 rounded-xl shadow-md shadow-indigo-600/10">
|
||||
Sign Up
|
||||
</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user