mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 01:38:49 -05:00
fix: registration controller
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user