Jump to content
Idris

External Admin Login

Recommended Posts

Hello, 

I'm trying to make a simple login that WHMCS administrators can use their credentials in. I've been searching through the docs and can only find ValidateLogin for clients, I then came across GetAdminDetails but that requires an API Identifier and Secret. I want to be able to use my same credentials that I log into the /admin/ area on this form. Is there an easy way of doing this or would I have to write a module/hook?

Regards,
Idris.

Share this post


Link to post
Share on other sites

getadmindetails won't work here, sadly.

The best approach is going to be wrapping your code around WHMCS and using sessions to validate whether they're already logged in as an admin user. Is there a specific reason you don't want to do this?

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines