Can"t login afther updat 3.5.2+ 10-11-2018

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Ken Task - келді
Number of replies: 10
Particularly helpful Moodlers қатысушының суреті

Screen shot shows from an android using Chrome?

Have you check server error logs for clues?  Might help to share some info about your server?  Linux/Windows, hosting, etc.

What happens if you use Chrome from a laptop/workstation?   What happens when you use another browser from a laptop/workstation ... like FireFox?

If it happens with Chrome from a laptop/workstation, then turn on debugging via the lines in config-dist.php (section 7) pasted into your active config.php file.

Once those lines are in place, try your workstation with Chrome and then also with Chrome from your android.

'spirit of sharing', Ken


In reply to Ken Task

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Remigijus Q - келді

Same problem. After upgrade from 3.5.2 to 3.5.2+ users can't login. Logs shows only php notice "Invalid Login Token: username"

Situation is solved via setting $CFG->disablelogintoken = true; but I'm not sure is this the right way.....


[Sat Nov 10 18:48:31.023407 2018] [php7:notice] [pid 13118] [client 192.168.50.254:47490] [client 78.63.93.52]  https://gabijos.vma.lm.lt  Invalid Login Token:  jtamulevicius  Mozilla/5.0 (Win

dows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36, referer: https://gabijos.vma.lm.lt/login/index.php

[Sat Nov 10 18:48:41.607562 2018] [php7:notice] [pid 13118] [client 192.168.50.254:47516] [client 78.63.93.52]  https://gabijos.vma.lm.lt  Invalid Login Token:  jtamulevicius  Mozilla/5.0 (Win

dows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36, referer: https://gabijos.vma.lm.lt/login/index.php

[Sat Nov 10 18:48:55.334276 2018] [php7:notice] [pid 3764] [client 192.168.50.254:47576] [client 78.63.93.52]  https://gabijos.vma.lm.lt  Invalid Login Token:  jtamulevicius  Mozilla/5.0 (Wind

ows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36, referer: https://gabijos.vma.lm.lt/login/index.php

[Sat Nov 10 18:49:21.427521 2018] [php7:notice] [pid 13429] [client 192.168.50.254:47642] [client 78.63.93.52]  https://gabijos.vma.lm.lt  Invalid Login Token:  jtamulevicius  Mozilla/5.0 (Win

dows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36, referer: https://gabijos.vma.lm.lt/login/index.php

[Sat Nov 10 18:49:23.112903 2018] [php7:notice] [pid 8505] [client 192.168.50.254:47652] [client 78.63.93.52]  https://gabijos.vma.lm.lt  Invalid Login Token:  jtamulevicius  Mozilla/5.0 (Wind


In reply to Remigijus Q

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Bas van Kollenburg - келді

YES thanks solved by this line

 $CFG->disablelogintoken = true;

Thanks

Bas

In reply to Bas van Kollenburg

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Luigi Ferrari - келді

I have the same problem, updated Moodle from latest 3.5.2+ version to 3.5.3 and no login possible.
If a new password is required from administrator then every user can login newly.

Adding the line to the config.php file worked fine (I hope), but users complained that no useful indication was given. Furthermore, the majority of them are linked to the LDAP method, which has increased the confusion.

A bad figure that I would have avoided.
In reply to Remigijus Q

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Gytis Cibulskis - келді

Can someone from MOODLE developers explain what exactly this setting $CFG->disablelogintoken = true  does? Could it have any other impact to Moodle functionality, webservices, security? 

We have multiple Moodle instances where this problem occurred after recent update and need to be sure that disabling this login token will have no negative consequences in the future. 

In reply to Gytis Cibulskis

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Alain Raap - келді
Particularly helpful Moodlers қатысушының суреті
I have the same problem, updated Moodle from latest 3.5.2+ version to 3.5.3 and no login possible.
Cleared caches and that didn't help too. Same error:  "Invalid Login Token: [my username]"
In reply to Alain Raap

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Bas van Kollenburg - келді
In reply to Bas van Kollenburg

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Alain Raap - келді
Particularly helpful Moodlers қатысушының суреті

I just did, but is that a workaround? What changed in the new version that it's not possible to login anymore?

Update:  I changed my theme to an older theme and then it worked again without the workaround.
This might be a problem in the login page?

In reply to Alain Raap

Re: Can"t login afther updat 3.5.2+ 10-11-2018

Gytis Cibulskis - келді

Yes, apparently it's a problem of Fordson theme we use.  

Do you also use Fordson?