Fixed resetting password bypasses account verification

This commit is contained in:
bwilliams committed 2025-11-06 11:43:18 +00:00
1 parent 149c5f560a
commit 81841a88a6
2 files changed
+107

No files matched your search

+2
View File
@@ -16,4 +16,6 @@ $app->group('/account', function () {
$this->get('/register', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:pageRegister')
->add('checkEnvironment')
->setName('register');
$this->post('/forgot-password', 'UserFrosting\Sprinkle\UFTweaks\Controller\AccountController:forgotPassword');
})->add(new NoCache());