set recaptcha to use user language instead of company language

by Mohamed Anouar Achoukhy ยท 9 years ago

from v4.1.0, a new feature is added to users (no authentificated) to select language, in order form the recaptcha use the company language and not the selected language by client . and to make blesta more multi-language, so i suggest to use the user selected language . or simply change

'lang' => substr($company_settings['language'], 0, 2)

to

'lang' => substr(Configure::get('Blesta.language'), 0, 2)
Comments (0)

No comments yet. Be the first to share your thoughts!

2

2 voters

Status Under Review
Category Order System