Fix that page information gets deleted when navigating back

refs #7163
This commit is contained in:
Johannes Meyer 2014-10-17 15:42:06 +02:00
parent f453fd06e8
commit e72f2cac24
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class WebSetup extends Wizard implements SetupWizard
if (isset($suggestion['resource'])) {
$page->populate($suggestion['resource']);
}
} elseif ($page->getName() === 'setup_authentication_type') {
} elseif ($page->getName() === 'setup_authentication_type' && $this->getDirection() === static::FORWARD) {
$authData = $this->getPageData($page->getName());
if ($authData !== null && $request->getPost('type') !== $authData['type']) {
// Drop any existing page data in case the authentication type has changed,