Fixed register route

This commit is contained in:
2023-08-23 08:40:04 +01:00
parent d5e5fbb7ee
commit 734fd7756a

View File

@@ -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());