Jump to content

"Authentification failed" for Superuser in frontend only


NoOne_Lt

Recommended Posts

Hi community, encountering really strange issues with Presta. Though i am 99% sure it worked until some time. I was playing around with presta and at some point FEnd login started failing. While in the meantime ive done numerous changes i didn't bothered to look for fix, just done a reinstall. its on hosting. Googled a bit, but all authentication issues are quiet old... Tried another browsers and hard refreshes, nothing helps. I can set my user pass in BEnd to whatever i want, so pass should be correct. 

Unfortunately issue still persist i can not log in to FEnd with my admin, shop is in Online mode,

Ive created Customer and it seems to be logging in fine, but i am not sure when that one will stop working. Ive tried to create another Team member and it also fails to log in.

So looking for troubleshooting advice, thanks!

BR, Igor

Edited by NoOne_Lt (see edit history)
Link to comment
Share on other sites

It often happens that does not save sessions.

For the sake of experiment, try to remove the session check when checking the employee's authorization.

In the class Employee.php
 

Remove the check for session availability (screenshot)

 Context::getContext()->cookie->isSessionAlive()

 

This is an experiment and there is no need to change anything directly in the classes, in any case, it is correct to use overriding.

Screenshot_12.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...