update dashboard logout button to issue get request
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<p class="mt-2 text-gray-600">
|
<p class="mt-2 text-gray-600">
|
||||||
Connected as <span class="font-bold">{{ username }}</span>
|
Connected as <span class="font-bold">{{ username }}</span>
|
||||||
</p>
|
</p>
|
||||||
<button hx-post="/admin/logout"
|
<button hx-get="/admin/logout"
|
||||||
type="submit"
|
type="submit"
|
||||||
class="flex items-center text-sm text-gray-500 hover:text-red-600 transition-colors cursor-pointer gap-1 mt-2">
|
class="flex items-center text-sm text-gray-500 hover:text-red-600 transition-colors cursor-pointer gap-1 mt-2">
|
||||||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
|||||||
Reference in New Issue
Block a user