Feature Requests
Share ideas, discuss and vote on requests from other users in community

clientadd hook should be run before clientlogin hook point

WHMCS Chance shared this idea 5 years ago
In Progress

The clientlogin hook point as outlined here: http://docs.whmcs.com/Hooks:ClientLogin is called by the system prior to the clientadd hook point outlined here: http://docs.whmcs.com/Hooks:ClientAdd

I feel that these should be swapped around so that if you run both of these hook points in a single file, that anything you have under the function being called by clientadd hook would be run first. Then the clientlogin function being called would run after this.