Is Discourse supposed to log you out across browsers?


(Erlend Sogge Heggen) #1

I was a bit surprised today as I was doing some testing. When I logged out from meta.discourse.org in my Chrome browser, I got logged out of meta.discourse.org in my Safari session as well. Also works the other way, as well as on a mobile browser.

Is this intended behaviour? it strikes me as quite odd. I don’t know of any other web app that does this.


(Joe Seyfried) #2

Have you seen this topic? You’re looking for the site setting “log out strict”. IMHO this should not be checked by default…


(Jeff Atwood) #3

Safety is the default, remember.


(Sam Saffron) #4

Yes, but it is configurable using the site setting “log out strict”

I am thinking we should maybe look at adding a “transitionary” logout screen that allows end users to pick their poison.


(Jeff Atwood) #5

Would be a good idea since logout is so rare anyway an additional dialog is no big deal.


(Kane York) #6

Mocked

(both would be in a modal)

.btn-huge {
    width: 100px;
    height: 100px;
    display:inline-flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    vertical-align:middle;
}
.btn-huge i.fa {
    display:block;
    text-align:center;
    margin-right:0;
    margin-bottom: 7px;
}

The btn-huge style I just created seems like a good thing to have anyways (which is why I made it).


(Jeff Atwood) #7

“This device” not computer. Also I would say “Log me out everywhere” versus “Log me out on this device only” etc. Probably only the exceptional case should use fa-alert.


(Sam Saffron) #8

btn-huge looks really bad and not like a button.

I would simply display a modal with:

[ ] Log me out everywhere

[Log Out] [Cancel]

Choosing between two buttons is confusing, a checkbox that clearly explains what will happen is desirable.


(Kane York) #9

Yeah, you’re probably right :laughing:


(Joe Seyfried) #10

If you like the safety first rule applied here too, maybe the logout everywhere shout contain a countdown “(in 10s…)” just to make sure.