Fixed register route
This commit is contained in:
@@ -12,4 +12,8 @@ use UserFrosting\Sprinkle\Core\Util\NoCache;
|
||||
$app->group('/account', function () {
|
||||
$this->get('/settings', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:pageSettings')
|
||||
->add('authGuard');
|
||||
|
||||
$this->get('/register', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:pageRegister')
|
||||
->add('checkEnvironment')
|
||||
->setName('register');
|
||||
})->add(new NoCache());
|
||||
|
||||
Reference in New Issue
Block a user