fix: registration controller

This commit is contained in:
HDVinnie
2021-05-17 20:20:59 -04:00
parent ad532136f1
commit 4ef02ef87d
@@ -42,7 +42,7 @@ class RegisterController extends Controller
*
* @param $code
*/
public function registrationForm($code = null): \Illuminate\Contracts\View\Factory | \Illuminate\View\View
public function registrationForm($code = null): \Illuminate\Contracts\View\Factory | \Illuminate\View\View | \Illuminate\Http\RedirectResponse
{
// Make sure open reg is off, invite code is not present and application signups enabled
if ($code === 'null' && \config('other.invite-only') == 1 && \config('other.application_signups') == true) {