public function generateNewPasswordAction($step = 0)
    {
        $existingPasswordFile = Files::concatenatePaths([FLOW_PATH_DATA, 'Persistent', 'FileBasedSimpleKeyService', $this->keyName]);
        if (file_exists($existingPasswordFile)) {
            unlink($existingPasswordFile);
            $this->addFlashMessage('A new password has been generated.', 'Password reset');
        }
        $this->redirect('login', null, null, ['step' => $step]);
    }