1
0
Fork 0
This commit is contained in:
Daniel Supernault 2019-06-16 18:02:11 -06:00
parent 17fa86ad2f
commit aa192d342d
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 7 additions and 1 deletions

View File

@ -147,9 +147,10 @@ trait HomeSettings
$log->save();
return redirect('/settings/home')->with('status', 'Password successfully updated!');
} else {
return redirect()->back()->with('error', 'There was an error with your request! Please try again.');
}
return redirect('/settings/home')->with('error', 'There was an error with your request!');
}
public function email()

View File

@ -13,6 +13,11 @@
@endforeach
</div>
@endif
@if (session('error'))
<div class="alert alert-danger px-3 h6 text-center">
{{ session('error') }}
</div>
@endif
<div class="container">
<div class="col-12">