Jump to content
  • 0

Reinventing the login system


jeremyhaber

Question

3 answers to this question

Recommended Posts

  • 0

You cannot replace the WHMCS login system as it is tightly integrated into the code itself, however WHMCS is very easy to bridge, either as a master or a slave.

 

In a master scenario, all logins are routed through WHMCS which then fires off what is called an actionhook (PHP code) that would execute and run code to start a session in your other backend. You would have to write a little code as a mechanism for tracking the association of these two login systems.

 

The slave scenario works pretty much the same in reverse. Your other login system runs some PHP code after successfully validating the client, checking if they have an account in WHMCS, creating it if necessary, then creating the WHMCS session, the process of which is painfully simple.

 

What is this "other" login system you mention, it may be possible that such a bridge already exists for it.

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
Answer this question...

×   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