This action disconnects the user because I noticed a bug with the login action.
Indeed, if we visit the forum, a visitor cookie (xf_session) is created and when we create a cookie to connect the user in question, it therefore has 2 existing sessions.
This action disconnects the user because I noticed a bug with the login action.
Indeed, if we visit the forum, a visitor cookie (xf_session) is created and when we create a cookie to connect the user in question, it therefore has 2 existing sessions.