Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something seems to make user id 0 'stick', causing errorless login failures. #3311

Open
Vekseid opened this issue May 20, 2019 · 3 comments
Open
Milestone

Comments

@Vekseid
Copy link
Contributor

Vekseid commented May 20, 2019

I think it's loadUserSettings() in Load.php, but I am not yet certain. I know what happens is user id 0 gets passed to setLoginCookie and the user gets instantly logged out, and needs to wait awhile before they can login.

I'm still trying to decipher this to figure out what the problem actually is. It isn't easy to reproduce.

@Vekseid
Copy link
Contributor Author

Vekseid commented May 21, 2019

Okay, I figured out what was going on.

My MediaWiki integration is setting subdomain independent cookies, while my install was only setting domain ones. This causes things to get confused, as the independent cookie will clobber the direct one.

While it is kind of esoteric I can see situations where this can impact normal users (changing the setting, especially away from subdomain independent), though it's probably low priority.

@emanuele45
Copy link
Contributor

hmm... I think it's something "known", but not tracked. Well, now it is. 😁

@emanuele45 emanuele45 added this to the 2.0 milestone May 23, 2019
@Spuds
Copy link
Contributor

Spuds commented Jul 7, 2022

should be combined with #3368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants