[mod portal] Logging in redirects to main page

This subforum contains all the issues which we already resolved.
orzelek
Smart Inserter
Smart Inserter
Posts: 3922
Joined: Fri Apr 03, 2015 10:20 am
Contact:

[mod portal] Logging in redirects to main page

Post by orzelek »

New mod portal seems to have pretty short life time of login cookie.
And when you are on mod page and login it redirects you to main page forcing you to search for mod again or use a bookmark again.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by HanziQ »

Works fine for me, do you have cookies enabled on your side?

staviq
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Jun 29, 2016 1:22 pm
Contact:

Re: [mod portal] Logging in redirects to main page

Post by staviq »

I can confirm problems with login cookie timeout, 90% of the time i need to login again.

What is even more frustrating, if i forget to log in, and try to download a mod, it will show a login page, and after i log in, it will just download the mod without redirection, so i have to manually type address again in the address bar.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by HanziQ »

staviq wrote:What is even more frustrating, if i forget to log in, and try to download a mod, it will show a login page, and after i log in, it will just download the mod without redirection, so i have to manually type address again in the address bar.
Well you wanted to download and it downloads. You can just press the back button and it will go to the previous page before you needed to log in.

staviq
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Jun 29, 2016 1:22 pm
Contact:

Re: [mod portal] Logging in redirects to main page

Post by staviq »

So do you confirm login cookies are supposed to have short timeouts ?

orzelek
Smart Inserter
Smart Inserter
Posts: 3922
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by orzelek »

I have cookies enabled but only from page I'm on.
It keeps me logged in for short time but not over night.

And is cookie needed to go back to mod page after logging in or it's by design it always goes back to main page?

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by HanziQ »

I added a "remember me" option that uses a longer expiration cookie. Redirect after login required a cookie, but doesn't anymore. I also changed the download button to redirect you to the mod page when you're not logged in (it will directly download if you're already logged in)

orzelek
Smart Inserter
Smart Inserter
Posts: 3922
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by orzelek »

Redirect to home page still happens for me on latest version of Opera.
Remember me should help :)

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by HanziQ »

Redirect to home page happens when doing what exactly? I might have not caught all the places. When you click something that requires login, you should see the next parameter in the URL.

orzelek
Smart Inserter
Smart Inserter
Posts: 3922
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by orzelek »

I log in, go to rso page and then log out - back on home page.
I go to first mod thats on page, press log in and login - back to home page. Login page has no additional parameters and I disabled all ad blockers. Also added factorio page to cookie exception - still same behavior.
I'm on latest Opera version and it sends following as identification:

Code: Select all

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 OPR/50.0.2762.67
I'm also using option to send no track request to pages.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by HanziQ »

Oh I see, yeah, that's how it's supposed to work, but I'll change that tomorrow.

staviq
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Jun 29, 2016 1:22 pm
Contact:

Re: [mod portal] Logging in redirects to main page

Post by staviq »

HanziQ wrote:I added a "remember me" option that uses a longer expiration cookie. Redirect after login required a cookie, but doesn't anymore. I also changed the download button to redirect you to the mod page when you're not logged in (it will directly download if you're already logged in)
Thanks !

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [mod portal] Logging in redirects to main page

Post by HanziQ »

Logging in should now redirect you back to the page you were on. Logout still goes to the main page.

Post Reply

Return to “Resolved Problems and Bugs”