By default Laravel 5.3 login user automatically after registration.I need a suggestion for get the user ID after the user automatically logged in and then run a function without redirection.How can I do this?
You can edit create()
method in Auth\RegisterController.php
and call your function there.