paperweight Posted October 1, 2012 Share Posted October 1, 2012 On my clientareahome.tpl I am trying to show the user's service username and service password. So I am trying this: <div> Username: {$service.username} <br> Password: {$service.password} </div> but it prints out something like: useremail@website.com JHG=+jtfyr7676FYTitf==77tFytr645ytrdthfHGFssaqQhgfHpi+85GHGf So in the above, the username is correct, but the password is still not showing correctly. I searched this forum but found no good info yet for this. Any idea what I'm missing on this to display the accurate password? Note: This is the user's service password, not their WHMCS client area password! I understand the WHMCS client password is not possible to decrypt~ 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted October 1, 2012 Share Posted October 1, 2012 WHMCS has a decrypt function that you can use to decrypt this value using PHP: $client_password = decrypt($service['password']); 0 Quote Link to comment Share on other sites More sharing options...
paperweight Posted October 2, 2012 Author Share Posted October 2, 2012 Excellent, thank you for your help. I added this at the top of clientareahome.tpl: {php}$client_password = decrypt($service['password']);{/php} And then below in the content I added this: {$client_password} But it printed nothing. I'm missing some step somewhere but not sure what. Any thoughts? 0 Quote Link to comment Share on other sites More sharing options...
SF06 Posted July 17, 2022 Share Posted July 17, 2022 Hello, I have the same issue in Addon of WHMCS, I can not decrypt password of clients user ? even if I used API decrypt Password of WHMCS every time I get Null result ! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.