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 1 month ago

Hello,

How could i disable user registration?

And how could i enable maintenance mode?

Thank you.

1 Answers
laraship Staff answered 3 weeks 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
Coupon Code
SUMMER05
Offer Expires  May 27th

 
GO TO STORE
close-link