Mattermost session destroy on browser close

Good afternoon,

I was wondering if could be possible to logout a user, so destroying session, when the window gets closed. Basically same way as PHP sessions do.

Best regards

Hi @egoitz! Thank you for reaching out.

I believe Mattermost doesn’t currently support this particular setting, but we do have some other related session settings listed here, e.g. Session Idle Timeout.

If none of them describe what you are looking for, please help contribute this idea in the feature idea forum so it can be discussed, upvoted and considered for a help wanted ticket.

If you do open a feature request, please include a link back to this GitHub issue. If you’re interested in implementing, please say so and we’ll prioritize the review.

Many thanks again Amy :slight_smile: :slight_smile:

Just wanted to know… because you know… some users sometimes close simply the window… and the session is opened again withouth asking any kind of password…

Thanks really :slight_smile: :slight_smile: