And allow it to be updated from within the client's profile.
This doesn't appear to be used anywhere in our default modules, but it's at least nice to give more inclusive options and allow it to be update by the client, for if it is ever used by a module.
* BugFix: Renewal failures do not properly save in order history
Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.
This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.
* BugFix: Renewal failures do not properly save in order history
Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.
This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.
* Implement a basic CSRF token system
* Update forms for all modules
* Added to the theme forms
* Create a config option for CSRF prevention
* Slightly rework the filter
* Let's actually use a global var
* Added the token to API hrefs
* Fixup
* Remove old reference
* Added the token to the installer twig globals
* The token isn't actually needed in the installer
* Fix client searching
* Whoops - those need quotes