modifié : SRC/app/Http/Controllers/AdminController.php
This commit is contained in:
parent
f7b99d84c9
commit
81f0d5de73
@ -46,8 +46,9 @@ class AdminController extends Controller {
|
||||
$user->school = Input::get('city');
|
||||
$user->lastname = Input::get('lastname');
|
||||
$user->image = "pictures/user_picture/default.jpg";
|
||||
|
||||
$user->save();
|
||||
|
||||
Password:: sendResetLink(Input::get('email'));
|
||||
return redirect('/admin')->with('message_add', 'User ajouté avec succès');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user