Level 122
Try doing something that actually requires being logged in.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
In Laravel's authentication system, when users log in and out quickly, two session files are being created instead of replacing the existing session file. Initially, when a user logs in, everything works fine. However, upon the second quick login attempt and log out, two session files are created. When the user logs out and refreshes the page, they are still logged in because of the presence of both session files.
Please or to participate in this conversation.