Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Improve whmcs-autoauth-invoice security #10

Open
tiagocaus opened this issue Feb 21, 2019 · 2 comments
Open

Improve whmcs-autoauth-invoice security #10

tiagocaus opened this issue Feb 21, 2019 · 2 comments

Comments

@tiagocaus
Copy link

How can I improve your code, causing each invoice sent to the client to generate a new hash.

It's possible?

@apeman76
Copy link

I think this would be possible, but it would require custom coding with custom PHP in your email template, this could be done via:
https://docs.whmcs.com/Email_Templates#Custom_PHP_Logic

@JonTheWong
Copy link
Owner

JonTheWong commented Apr 26, 2019

I'm looking into this. It might be possible to move the $timestamp into the creation of the user hash giving it a new hash per email, removing the 15 minutes expire and just make it unique per email. But will that unique hash expire?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants