Prompt: logout button does nothing, make clicking on it log user out and take them back to homepage, similarly, if user is already logged in and visits homepage/login/register screens, redirect them to dashboard
Session Total cost: $10.61 (costs may be inaccurate due to usage of unknown models) Total duration (API): 1h 26m 37s Total duration (wall): 2h 37m 58s Total code changes: 4209 lines added, 306 lines removed Usage by model: qwen/qwen3.6-35b-a3b: 508.8k input, 126.8k output, 23.7m cache read, 0 cache write ($10.53) claude-haiku-4-5: 9.4k input, 13.3k output, 8.3k cache read, 0 cache write ($0.0767) Runtime: llamacpp Model: Qwen 3.6 35B A3B Q4 K M Coding Agent: ClaudeCode
This commit is contained in:
@@ -809,9 +809,12 @@
|
||||
Settings
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<form action="{{ route('login') }}" method="GET" class="dropdown-item" style="color: var(--error-color);">
|
||||
<svg viewBox="0 0 20 20" fill="none" width="16" height="16"><path d="M15.5 10H6.5V8.5L11 4L6.5 8.5H3.5V11.5H6.5L11 16L6.5 11.5H15.5V10Z" fill="#bf2600"/></svg>
|
||||
Log out
|
||||
<form action="{{ route('logout') }}" method="POST" style="margin: 0;">
|
||||
@csrf
|
||||
<button type="submit" class="dropdown-item" style="color: var(--error-color); width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; font: inherit;">
|
||||
<svg viewBox="0 0 20 20" fill="none" width="16" height="16"><path d="M15.5 10H6.5V8.5L11 4L6.5 8.5H3.5V11.5H6.5L11 16L6.5 11.5H15.5V10Z" fill="#bf2600"/></svg>
|
||||
Log out
|
||||
</button>
|
||||
</form>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user