success messages

This commit is contained in:
2018-10-29 21:42:52 -05:00
parent df2923dab6
commit b937d1ede1

View File

@@ -64,7 +64,7 @@ class WikiController extends Controller
$member->groupname = $gname[0]->gname; $member->groupname = $gname[0]->gname;
$member->save(); $member->save();
//Return to the dashboard view //Return to the dashboard view
return redirect('/dashboard')->with('success', 'Registration successful.<br>Your username is: ' . $name); return redirect('/dashboard')->with('success', 'Registration successful. Your username is: ' . $name);
} }
public function displayChangePassword() { public function displayChangePassword() {
@@ -103,6 +103,6 @@ class WikiController extends Controller
->where('login', $name) ->where('login', $name)
->update(['pass' => $password]); ->update(['pass' => $password]);
return redirect('/dashboard')->with('success', 'Password changed successfully.<br>Your username is: ' . $name); return redirect('/dashboard')->with('success', 'Password changed successfully. Your username is: ' . $name);
} }
} }