Mod Archive Forums

Website => Help & Support => Help Support Topics Archive => Topic started by: Uncertain on July 19, 2019, 23:37:00

Title: Another Modarchive Login Bug
Post by: Uncertain on July 19, 2019, 23:37:00
Logging into the TMA forums seems to be entering in conflict with the other TMA login. Not sure if that's intended, but it's still something to look at.
Title: Re: Another Modarchive Login Bug
Post by: Saga Musix on July 23, 2019, 18:10:14
Can you please describe how it conflicts for you? I am logged into both accounts at the same time.
Title: Re: Another Modarchive Login Bug
Post by: Uncertain on July 24, 2019, 01:49:30
Prerequisites:
Steps to reproduce:
Step 1: Login to TMA
Step 2: Login to TMA forums

You are now no longer logged into TMA (not the forums).
Title: Re: Another Modarchive Login Bug
Post by: Saga Musix on July 24, 2019, 21:32:45
It works for me, same system and browser. Do you maybe use any privacy/cookie related extensions?
Title: Re: Another Modarchive Login Bug
Post by: Uncertain on July 25, 2019, 00:55:37
Do you maybe use any privacy/cookie related extensions?
I use uBlock Origin, HTTPS Everywhere and Cookie AutoDelete.

I also set the privacy.firstparty.isolate option to true in about:config.
Title: Re: Another Modarchive Login Bug
Post by: Saga Musix on July 25, 2019, 18:52:46
Are you opening the forum and front page in two different tabs? Cookie AutoDelete sounds like it could be the culprit because the session cookie would be shared between the two.
Title: Re: Another Modarchive Login Bug
Post by: Uncertain on July 26, 2019, 00:35:54
I did all the steps listed above in the same tab, since I know how Cookie AutoDelete behaves when closing tabs. Cleanup on domain change isn't enabled either.
Title: Re: Another Modarchive Login Bug
Post by: Uncertain on July 28, 2019, 20:59:07
Upon further investigation, I found out that logging into the forums first and then logging to TMA allows you to be logged in on both accounts (but not when logging to TMA first).

I'm not an expert on this, but I suspect this might have something to do with how the PHPSESSID cookie is handled.
Title: Re: Another Modarchive Login Bug
Post by: Saga Musix on July 28, 2019, 21:47:38
I tried to reproduce this in a private window, both first logging into TMA and first logging into the forums and it worked in both cases for me. I too suspect that it's PHPSESSID related, but I cannot find any explanation why it doesn't work for you, unfortunately.
Title: Re: Another Modarchive Login Bug
Post by: Saga Musix on August 04, 2019, 16:03:05
I modified the session handling a bit - maybe it works better for you now.
Title: Re: Another Modarchive Login Bug
Post by: Uncertain on August 05, 2019, 01:30:35
I modified the session handling a bit - maybe it works better for you now.

Seems to be working properly now, thanks for the fix :)