Hello,
How could i disable user registration?
And how could i enable maintenance mode?
Thank you.
1 Answers
Hello Phat,
You can disable registration using few methods,
1) You can override the registration view and remove the registration form
2) You can disable routes for registration from at Corals/core/User/routes/web.php
Route::get('register', ['as' => 'register', 'uses' => 'Auth\RegisterController@showRegistrationForm']);<p>Route:: post('register', 'Auth\RegisterController@register');</p>
Please login or Register to submit your answer