Jump to content

addin

Member
  • Posts

    4
  • Joined

  • Last visited

About addin

addin's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. i have an auto-suspend e-mail notification by whmcs, but for some products i want to change e-mail template, can i do it with a hook? i tried to use "EmailPreSend" hook but it didn't work
  2. You can return {module_name}_ClientArea() to a string instead of an array 1. open your module ex. /modules/servers/srsxsectigo/srsxsectigo.php 2. then create script your button action example : function srsxsectigo_ClientArea(array $params) { return "<a href='#'>click me</a>"; } 3. save and try in your clientzone. I hope this helps.
  3. now, i can generate manual 2FA code with this, but not yet to verify between my app with whmcs 🙂
  4. i need to,, i try to make standalone 2FA in my client site. with package speakeasy node js. if 2fa has been active i see tblclients have autmodule = totp, and authdata = some serialize array like : Array ( [tokendata] => YTo2OntzOjg6InRva2Vua2V5IjtzOjIwOiI2M2NlYmI0ZmQ3NzNjMWIxZDQ4NiI7czo5OiJ0b2tlbnR5cGUiO3M6NDoiVE9UUCI7czoxMDoidG9rZW50aW1lciI7aTozMDtzOjEyOiJ0b2tlbmNvdW50ZXIiO2k6MTtzOjE0OiJ0b2tlbmFsZ29yaXRobSI7czo0OiJTSEExIjtzOjQ6InVzZXIiO3M6MDoiIjt9 [backupcode] => 5d4eba1f404724c0b815d4b12101ecec958c4a32 ) i can decode backupcode with sha1() but how to to decode or decrypt tokendata ?
×
×
  • 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