Skip to content

Commit

Permalink
Merge pull request #4 from biigle/patch-1
Browse files Browse the repository at this point in the history
Fix registration with SSO only configuration
  • Loading branch information
mzur committed May 3, 2024
2 parents f9ff83d + c0b3334 commit 44366c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Http/Controllers/RegisterController.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 44366c1

Please sign in to comment.