Idris Posted March 11, 2018 Share Posted March 11, 2018 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. Link to comment Share on other sites More sharing options...
twhiting9275 Posted March 13, 2018 Share Posted March 13, 2018 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? Link to comment Share on other sites More sharing options...
Recommended Posts