Commit 6e18e80f authored by Nicolas Widart's avatar Nicolas Widart

Set the user created in admin to activated

parent 937bbfda
...@@ -75,7 +75,7 @@ class UserController extends BaseUserModuleController ...@@ -75,7 +75,7 @@ class UserController extends BaseUserModuleController
{ {
$data = $this->mergeRequestWithPermissions($request); $data = $this->mergeRequestWithPermissions($request);
$this->user->createWithRoles($data, $request->roles); $this->user->createWithRoles($data, $request->roles, true);
Flash::success('User created.'); Flash::success('User created.');
return Redirect::route('dashboard.user.index'); return Redirect::route('dashboard.user.index');
......
Markdown is supported
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