Allow users to turn off SMTP encryption.

Fixes #495
This commit is contained in:
Dan Cryer 2014-07-29 17:24:13 +01:00
parent c3f73cc621
commit 21341b632c

View file

@ -75,6 +75,8 @@ class SettingsController extends Controller
public function email()
{
$this->settings['phpci']['email_settings'] = $this->getParams();
$this->settings['phpci']['email_settings']['smtp_encryption'] = $this->getParam('smtp_encryption', 0);
$error = $this->storeSettings();
if ($error) {