fix: redirect to /admin/clients after ending impersonation #82

Merged
the-dogfather-cto[bot] merged 1 commits from fix/impersonation-end-redirect into main 2026-03-20 23:37:04 +00:00

1 Commits

Author SHA1 Message Date
Scrubs McBarkley 17a965552a fix: redirect to /admin/clients after ending impersonation session
Closes #81

- Add window.location.href = '/admin/clients' after clearing session
  state in handleEnd so staff are sent back to the admin panel
- Add a test that verifies the redirect fires when End Session is clicked

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-20 23:19:06 +00:00