Add user
opened this issue · comments
Hi, I logined with Adminstrator role. I acces Administration Panel and add new user.
I get a error about miss argurment.
Can you help me to fix it?
Thanks!
who can help me? Please!
Got a similar error while trying to add a new user.
- Missing argument 2 for App\Repositories\UserRepository::store(), called in ~\app\Http\Controllers\UserController.php on line 111 and defined
Total noob to laravel here. Please help.
I was able to create a new user by removing
$confirmation_code from
store($inputs, $confirmation_code) function in the UserRepository.php and removing $inputs['confirmation_code'] = $confirmation_code;
from within the function.
I dont know what the confirmation code is for yet at this point but it does not seem to be needed because only admins can add users.
- total noob here.
Hi,
I think it's corrected with this commit.
But there is still an issue because confirmation code is not setted when an administrator creates an user. I will correct it next week.
Thanks.
I made the correction on this commit and admin edition for confirmation there. Hope now it's ok ;)