Disable user registration and Enable Maintenance mode

Disable user registration and Enable Maintenance mode

Laraship QuestionsCategory: TechnicalDisable user registration and Enable Maintenance mode
phat.pham asked 4 months ago

Hello,

How could i disable user registration?

And how could i enable maintenance mode?

Thank you.

1 Answers
laraship Staff answered 4 months ago

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\[email protected]']);<p>Route:: post('register', 'Auth\[email protected]');</p>

50% OFF

No Minimum, No Exceptions
 
GO TO STORE
close-link