Adding 3 new fields on Signup page
-
Hi,
I am trying to add 3 new fields on signup page. I added new files under Models, controller, contracts and Repository. Also, added under providers but getting below error
-
Hi sheelaw,
- You need to register your model in ModuleServiceProvider.php file within '$models' array as shown in screenshot
- Also, goto config/concord.php file and add your package moduleserviceprovider class under 'modules' as shown in screenshot
- Within provider , register your package ModuleServiceProvider within boot method by writing below line
$this->app->register(ModuleServiceProvider::class);
Thanks
-
@prateek-webkul said in Adding 3 new fields on Signup page:
ModuleServiceProvider
Thanks for your reply Prateek. I have already register modles in ModuleSErviceProvider.php
Under config/concord.php file, there is already this package included.
I didnt you third poiny to register your package ModuleServiceProvider within boot
Do you mean this? -
All good Prashant. I got it
Thanks for your help.