Jump to content
Froxlor Forum
  • 0

Constantly getting logged out after 30 seconds




I have a new machine running Debian 11 with nginx and php fpm but if I login to the admin interface I get logged out after 30 seconds.
I used the manual installation method as well as tried the automatic one with no luck.

Any suggestions would be great.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

There is nothing in the error logs but I was able to figure out the issue.

I'm using Cloudflare as DNS as well as a the SSL Proxy layer to provide SSL to protect the real IP address of my servers. Unfortunately this means that the client IP address may change every request.

This has never been a problem with other control panels and shouldn't be an issue at all but Froxlor doesn't allow this due to the following line in the code which is a ancient way of security:


Removing the above part of "AND `s`.`ipaddress` = :ipaddr" as well as the parameter in line 243 will fix this. 

I'll create a pull request later when I have time.

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...