jeremykenedy / laravel-material-design

Laravel 5.6 on Material Design Lite 1.3 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. This makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. Uses laravel ORM modeling and has CRUD (Create Read Update Delete) functionality for all tasks. Quick setup, can be done in 5 minutes. It will take longer to obtain your Facebook, Twitter, and Google Plus API Keys than it will to set this up.
https://mdl.consultjeremy.com
MIT License
261 stars 108 forks source link

Fresh install, email registration fails to create profile #10

Closed crazedVic closed 6 years ago

crazedVic commented 6 years ago

Just wanted to make sure everything worked before I started hooking up social logins. Register by email form actually calls the create() on Auth\RegisterController.php not the UserManagementController.php, which does create the user, and assign the role but does not setup the default profile, which then leads to a whole set of errors trying to load the bg image etc.

I suspect the correct way to fix this would be to have the email registration point to the UserManagementController instead of the RegisterController, but I leave that up to you.

jeremykenedy commented 6 years ago

Hi, thanks for checking out the project. The profile gets created upon account confirmation. If there’s and error please make a pr. Due to time limitations I am not actively maintaining this repo at the moment but will accept prs :)

Thabks again, Jeremy