Login bug after switching to https

Login bug after switching to https

by Nadhem Hanine -
Number of replies: 0

Hi all,
I upgraded my Moodle site to https. Everything went smoothly as I followed the official documentation.
Just one little bug that I could not understand:

When using the admin account. After entering the username and the password and clicking on "Connexion". It downloads the logo instead of logging in and going to the dashboard, at first. When i click again to connect, I have a message idicating that i'm already connected and "please disconnect if you want to login with another account". When I cancel, it redirects me (FINALLY!) to the dashboard. So I assume the connexion request goes through but with some issues.


When using other users (students accounts for example), the connexion goes through but give me a page with an error message "error/moodle/invaliduserid".

Anyone had this same type of issue? Any idea on how to fix it? 

Here's my Moodle environement:
Version: 3.10.1
Theme : Adaptable
PHP Version: 7.3.27
DataBase (MariaDB, MySQL, etc.) et version : MySQL 8.0.23
Browsers : problem occurs with all browers

Thanks in advance for your help ! Hope we can fix this !


Average of ratings: -