Bonfire
Bonfire copied to clipboard
SMTP Password length
The SMTP configuration settings don't accept a password more than 20 characters. Its impossible using Amazon SES or Mandrill Key with this length limitation.
If you change this line: https://github.com/ci-bonfire/Bonfire/blob/develop/bonfire/modules/emailer/controllers/Settings.php#L65
$this->form_validation->set_rules('smtp_pass', 'lang:emailer_smtp_password', 'trim|matches_pattern[[A-Za-z0-9!@#\%$^&+=]{2,20}]');
to this:
$this->form_validation->set_rules('smtp_pass', 'lang:emailer_smtp_password', 'trim|matches_pattern[[A-Za-z0-9!@#\%$^&+=]{2,255}]');
does that fix the problem for you, or do you need it to be longer than 255 characters?