From 9e3cd6213c71ed0846b551ffa952e65f37cb1a5b Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 08:17:26 -0400 Subject: [PATCH] disable new user registration since we'll be using AD later --- app/Http/Controllers/Auth/RegisterController.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index f77265a..13be4bf 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -68,4 +68,13 @@ class RegisterController extends Controller 'password' => bcrypt($data['password']), ]); } + public function showRegistrationForm() + { + return redirect('login'); + } + + public function register() + { + abort(404); + } }