How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

UserLogin hook should execute before tblusers is updated

  • Websavers shared this idea 2 years ago
  • Developers
  • 2 Comments


When executing the UserLogin hook, it should occur after the user is authenticated but just prior to when tblusers is updated - specifically last_ip, last_hostname, last_login.

Alternatively there could be a PreUserLogin hook that fires just prior to updating the user data in the database.

2 Comments

Login to post a comment.

Implementing the UserLogin hook after user authentication allows for tracking details like last IP and hostname efficiently. Alternatively, a PreUserLogin hook could enhance flexibility in data handling.
https://trafficrally.io/
<a href="https://google.com">google</a>"
[Google](https://goole.com)