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