Is it possible to modify the built in Auth so that new user registrations need to be approved? I guess I'd add an approved column to the users table and upon registration set that to 0. Once the user has been reviewed, set that to 1 and check for this at login. Could anyone point me in the right direction – which files do I need to modify?
You can add as many fields as you want in your users table for rolls or whatever it doesn't matter. What would be your criteria for approval. Just add the logic needed in the auth controller. Or have one extra table that's for pre authorized people once authorized transfer that data to the user table and delete the record in the temp table. But really there are many many ways to accomplish something like this.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community