Laravel authentication session/database, 1 session per IP/user_id
Hello, in my sessions.php config file, I set the auto expire on close to true and the session type to 'database' so it's stored in the database everytime a user goes on the site and logs in. Now, it works fine but the sessions just keep stacking up with the same user_id and IP address, I want to have a list of active sessions within the last 10 minutes only, NO USER ID or IP address duplicates because they don't get deleted... how would I go about doing it?