Sign-in button → account app, clear old shared cookie

- Nav sign-in links point to account_url('/') instead of login_url()
- After-request hook clears old blog_session cookie on .rose-ash.com
  (prevents collision with new per-app first-party cookies)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-23 10:56:56 +00:00
parent ea35e040e7
commit 16df62e2c4
3 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<a
href="{{ login_url(request.url) }}"
href="{{ account_url('/') }}"
aria-selected="{{ 'true' if '/auth/login' in request.path else 'false' }}"
class="justify-center cursor-pointer flex flex-row items-center p-3 gap-2 rounded bg-stone-200 text-black {{select_colours}}"
data-close-details

View File

@@ -1,6 +1,6 @@
<a
href="{{ login_url(request.url) }}"
href="{{ account_url('/') }}"
aria-selected="{{ 'true' if '/auth/login' in request.path else 'false' }}"
>
<i class="fa-solid fa-key"></i>