Updated user settings page and user forms

This commit is contained in:
2023-06-01 10:59:51 +01:00
parent fc707b1abf
commit a4da55aa47
15 changed files with 386 additions and 1 deletions

15
routes/routes.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
/*
* AVSDev UF Tweaks (https://avsdev.uk)
*
* @link https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks
* @license https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks/blob/master/LICENSE.md (LGPL-3.0 License)
*/
use UserFrosting\Sprinkle\Core\Util\NoCache;
$app->group('/account', function () {
$this->get('/settings', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:pageSettings')
->add('authGuard');
})->add(new NoCache());