Skip to content

Commit 43e6df6

Browse files
committed
Add callback and logout
1 parent d68d4f7 commit 43e6df6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/layout_en.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<ol class="inline-flex md:space-x-2 rtl:space-x-reverse hidden guest">
5454
<li>
5555
<a class="inline-flex items-center text-sm font-medium hover:text-orange-600" href="/"
56-
title="Log in" onclick="login()">
56+
title="Log in" onclick="login(); return false;">
5757
<svg class="w-3.5 h-3.5 ms-2 mr-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"
5858
fill="currentColor">
5959
<defs />
@@ -99,7 +99,7 @@
9999
</a>
100100
</li>
101101
<li>
102-
<button type="submit" onclick="logout()" class="inline-flex items-center text-sm font-medium hover:text-orange-600">
102+
<button type="submit" onclick="logout(); return false;" class="inline-flex items-center text-sm font-medium hover:text-orange-600">
103103
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
104104
stroke="currentColor" class="w-3.5 h-3.5 ms-2 mr-2">
105105
<path stroke-linecap="round" stroke-linejoin="round"

0 commit comments

Comments
 (0)