Skip to content

Proper way to override registration behavior #823

Answered by gl2007
gl2007 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your answers. Here is how I solved it:
First made the "$tables" protected as @kenjis suggested.

Next, I added the code below to my registration method at the top.
$authConfig = config('Auth'); $this->tables = $authConfig->tables;

Then I removed all "user" registration based actions/redirections etc. and kept the validations/events/group registration in place. It all worked smoothly.

Thanks!

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@gl2007
Comment options

Comment options

You must be logged in to vote
1 reply
@gl2007
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gl2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants