Fixed resetting password bypasses account verification

This commit is contained in:
2025-11-06 11:43:18 +00:00
parent 149c5f560a
commit 81841a88a6
2 changed files with 107 additions and 0 deletions

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