Issues found
- 0Critical
- 2High
- 1Medium
- 4Low
- 6Info
Logging out doesn’t fully log you out
When someone logs out, their old login cookie keeps working. If someone else gets hold of it — say, on a shared computer — they can get straight back into that account.
How to fix: when someone logs out, end their session on your server too — not just in their browser.
Prompt for your AI tool
When a user logs out, invalidate their session on the server as well as clearing the cookie, so an old session cookie can’t be reused. Then add a test that logs in, logs out, and checks the old cookie is rejected.
Paste into your preferred AI tool acting on your site’s code. Remember to test and validate yourself.