Topic on Project:Support desk

CreateAccount makes it look like user is logged in, but they aren't

3
Tansaku (talkcontribs)

Hi there,

Our wiki at https://wiki.healthylondon.org using

Product Version
MediaWiki 1.28.1
PHP 5.6.30 (fpm-fcgi)
MySQL 5.6.35
ICU 52.1

has an oddness, that when a user creates an account it shows them as logged in, but then when they navigate away from the created account page, it turns out they are not logged in and they have to log in again. This is confusing for users.

Is this a standard setup? An existing bug? Or something we've inadvertently introduced?

Many thanks in advance

Ciencia Al Poder (talkcontribs)

definitively it's not something I can reproduce on a local instance

On your wiki, after creating account, I see those cookies being set: cpPosTime, UseDC, UseCDNCache

On next page I'm logged out, and when logging in again, those cookies are being set: bitnami_mediawiki_session, bitnami_mediawikiUserID, bitnami_mediawikiUserName

However, on a local 1.28, I get all cookies set after creating the account. the _session cookie is set when loading the createaccount page, but then replaced with another after the account gets created. However it doesn't get replaced on your wiki on creating an account, and I have no idea why

Tansaku (talkcontribs)