FEATURE: add redirect after successful user registration
This commit is contained in:
@@ -62,6 +62,10 @@ class UserManagement extends Controller
|
||||
|
||||
// store user into database
|
||||
$user->save();
|
||||
// @todo add some redirect, inform user etc.
|
||||
|
||||
// refresh page with information about successfull registration
|
||||
return redirect()
|
||||
->route('users.new')
|
||||
->with('message', trans('admin/userManagement.registrationSuccessfull'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user