Login issue

Post Reply
arous.amine
Posts: 5
Joined: 14 Mar 2017, 16:36
Name: AROUS
Location: FRANCE
Company Name: GGT

Login issue

Post by arous.amine »

Hi everybody,

I'm in Rukovoditel v1.8 et i'm facing a problem in authentication.
Actually, i have 2 users (admin and user1), i log in as user1 several times then i log out and i log in as ADMIN and i found myself logged in as user1.
This issue is not always apprearing and i used to have it even in the version 1.7 and 1.6
I hope someone can help me to get rid of it.

Thanks
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Login issue

Post by support »

local installation?
arous.amine
Posts: 5
Joined: 14 Mar 2017, 16:36
Name: AROUS
Location: FRANCE
Company Name: GGT

Re: Login issue

Post by arous.amine »

Hi,

Yes, the first time i install it locally,
then i deploy it in a server in our intranet and the problem persists.

Thanks
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Login issue

Post by support »

Looks like session cache problem

Go to config/server.php and find next line

Code: Select all

define('STORE_SESSIONS', 'mysql');
and change it to empty so it will looks like this

Code: Select all

define('STORE_SESSIONS', '');
let me know if it helps
arous.amine
Posts: 5
Joined: 14 Mar 2017, 16:36
Name: AROUS
Location: FRANCE
Company Name: GGT

Re: Login issue

Post by arous.amine »

Thank you so much!
Yes that solved my problem in a way.

The problem persists only when i log in as USER1, then i return to login page without logging out, and then i try to login with user2 --> i always find myself logged in as user1 (because i didn't disconnect).

Is there a way to resolve that ?

Thank you
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Login issue

Post by support »

no, you have to use logoff function in your case.
arous.amine
Posts: 5
Joined: 14 Mar 2017, 16:36
Name: AROUS
Location: FRANCE
Company Name: GGT

Re: Login issue

Post by arous.amine »

Thanks anyway.
Hope that will be solved in a comming version.
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Login issue

Post by support »

Yes, it will be fixed in 1.9
arous.amine
Posts: 5
Joined: 14 Mar 2017, 16:36
Name: AROUS
Location: FRANCE
Company Name: GGT

Re: Login issue

Post by arous.amine »

Thanks Admin ;)
Post Reply