mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 23:55:33 +00:00
Fixed erronerously removed save methods
This commit is contained in:
@ -185,7 +185,9 @@ class SettingsController extends Controller
|
||||
if ((!$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']);
|
||||
|
||||
Reference in New Issue
Block a user