Jump to content

Can't stay logged into admin area


Recommended Posts

Ever since updating to 7.5.1 I can't stay logged into the admin area. It logs me out every day eventhough I select "remember me".

I have already tried clearing all my cookies. I've also checked to make sure that my ip isn't changing. I've restarted my browser several time but nothing seems to be helping.

Edited by Darthkatzs
Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Hello @Darthkatzs,

If you navigate to `Utilities -> Logs -> Admin Log` are you seeing your IP address consistently (in other words not changing)?

Being logged out is an indication of the IP address changing, which would cause you to be logged out due to the Session IP Check. You can read more about this (and you can also disable it which would resolve this) here: https://docs.whmcs.com/Security_Tab#Disable_Session_IP_Check

In most instances, you won't want to disable this for security reasons, so it would be necessary to identify why your IP address is changing frequently, prevent this from happening, then leave the Session IP Check enabled.

An example I see often is when clients are using Cloudflare, which is easy identifiable by reviewing the System Admin Login Log, where you will see Cloudflare IP address listed. If that is the case, you will want to add Cloudflare IP addresses to your Trusted Proxies inside WHMCS.

You can read more about this here:   https://docs.whmcs.com/Trusted_Proxy_Settings

The Proxy Header field allows you to configure the HTTP header WHMCS will use to figure out which IP address is the authoritative IP address for the request, in other words, your connecting IP address.

Link to comment
Share on other sites

9 hours ago, WHMCS Alex said:

Hello @Darthkatzs,

If you navigate to `Utilities -> Logs -> Admin Log` are you seeing your IP address consistently (in other words not changing)?

Being logged out is an indication of the IP address changing, which would cause you to be logged out due to the Session IP Check. You can read more about this (and you can also disable it which would resolve this) here: https://docs.whmcs.com/Security_Tab#Disable_Session_IP_Check

In most instances, you won't want to disable this for you security reasons, so it would be necessary to identify why your IP address is changing frequently, prevent this from happening, then leaving the Session IP Check enabled.

An example I see often is when clients are using Cloudflare, which is easy identifiable by reviewing the System Admin Login Log, where you will see Cloudflare IP address listed. If that is the case, you will want to add Cloudflare IP addresses to your Trusted Proxies inside WHMCS.

You can read more about this here:   https://docs.whmcs.com/Trusted_Proxy_Settings

The Proxy Header field allows you to configure the HTTP header WHMCS will use to figure out which IP address is the authoritative IP address for the request, in other words, your connecting IP address.

Oh wow, I'm dumb, it seems my pc is randomly turning on ipv6, I can see it jump from ipv4 to ipv6 like every day and the ipv6 address changes constantly too. My bad.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated