How can I make seafile logout the user when the browser is closed?

I use seafile from public computers and I want to make seafile log me out automatically when I close the browser window so that other people cannot accidentally see my files when they open the browser again, is there a way to do this?

# Whether a user's session cookie expires when the Web browser is closed.

Thanks, setting that value to true worked for me.