1 year ago

Adding a step before registration

Posted 1 year ago by xopher

I'd like to require new users to enter two values (that will be checked in db) prior to allowing registration. I've poked around, but am new to Laravel and find the Auth routes to be fairly opaque. The Controllers and Views are all naturally present and obvious in terms of how to edit, but the routes/web files simply says Auth::routes(); which I suspect is handled internally somewhere to move users through the registration, login, and password reset process. I would like to add a session variable check to the register flow and if not found redirect to a separate page where the values would be checked, session variable set, and then redirect to normal Registration page. I apologize if this has been asked before, I'm still searching for something similar.

Please sign in or create an account to participate in this conversation.