A free open source IT asset/license management system
Fixed erronerously removed save methods
snipec5d96812f31e
diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.phpindex f1c38cc2af..7bdaae231b 100755--- a/app/Http/Controllers/SettingsController.php+++ b/app/Http/Controllers/SettingsController.php@@ -185,7 +185,9 @@ class SettingsController extends Controllerif ((!$user->isValid()) || (!$settings->isValid())) {return redirect()->back()->withInput()->withErrors($user->getErrors())->withErrors($settings->getErrors());} else {-+ $user->save();+ $settings->save();+if (Input::get('email_creds')=='1') {Mail::send(['text' => 'emails.firstadmin'], $data, function ($m) use ($data) {$m->to($data['email'], $data['first_name']);