Giter Site home page Giter Site logo

Add user about laravel5-example HOT 6 CLOSED

bestmomo avatar bestmomo commented on June 14, 2024
Add user

from laravel5-example.

Comments (6)

 avatar commented on June 14, 2024

who can help me? Please!

from laravel5-example.

odin4 avatar odin4 commented on June 14, 2024

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.

from laravel5-example.

odin4 avatar odin4 commented on June 14, 2024

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.

from laravel5-example.

bestmomo avatar bestmomo commented on June 14, 2024

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.

from laravel5-example.

odin4 avatar odin4 commented on June 14, 2024

Thanks.

from laravel5-example.

bestmomo avatar bestmomo commented on June 14, 2024

I made the correction on this commit and admin edition for confirmation there. Hope now it's ok ;)

from laravel5-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.