Commit 29ddb68c authored by ZeMKI's avatar ZeMKI
Browse files

bugfix production set supervisor

parent e8304e54
......@@ -176,9 +176,7 @@ class UserController extends Controller
*/
public function store(Request $request)
{
// case from admin area
if($request->testEmail){
if($request->testEmail == true){
Mail::to($request->email)->send(new VerificationEmail(new User,$request->emailtext? $request->emailtext : config('utilities.emailDefaultText')));
return redirect('/admin/supervisor')->with(['message'=>'Test Email sent to '.$request->email]);
}
......
......@@ -8,7 +8,6 @@
<div class="container" id="app">
@if(session()->has('message'))
<b-notification
:active.sync="mainNotification"
aria-close-label="Close notification"
type="is-danger"
role="alert"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment