Fixed resetting password bypasses account verification
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user