diff --git a/src/Http/Controllers/RegisterController.php b/src/Http/Controllers/RegisterController.php index 4ba8b72..9cd22f0 100644 --- a/src/Http/Controllers/RegisterController.php +++ b/src/Http/Controllers/RegisterController.php @@ -71,7 +71,9 @@ public function register(Request $request) ->withErrors(['lslogin-id' => 'The Life Science Login ID is already connected with an account.']); } - return parent::register($request); + // Do not use parent::register() because this may be disabled with + // config('biigle.sso_registration_only'). + return $this->baseRegister($request); } /**