Make reCaptcha as company settings and add it to Form Class

by Mohamed Anouar Achoukhy · 9 years ago

from v4 , reCaptcha was a shipped vendor components with blesta core , it would very beneficent to make reCaptcha settings as company setting rather than make it in the order form settings .

this will allow developers to only call the reCaptcha setting and check if exist and use it .
in the order form late the select box as it and show reCaptcha in the list only if it was a setting in the company, if not not show it .that also will save work if the class has updated in the future .
also this behavior will help blesta team to make reCaptcha available the Form class if they want to add a field for it like ($this->Form->reCaptcha([$options]);)

that way also any plugin can only initialize reCaptcha components with company settings rather than make a settings to be saved .

Status Timeline
Completed — Jul 30, 2020
by Jonathan Reismueller
Comments (1)
Jonathan Reismueller Staff 6 years ago

Not added to the Form component, but resolved by https://dev.blesta.com/browse/CORE-3553

3

3 voters

Status Completed