From eb4e56fbc0ff826edb2b18ebba4f03dff19dfc52 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 30 Jul 2015 14:14:43 +0200 Subject: [PATCH] AuthenticationStep: Do not report a success if nothing has changed --- modules/setup/library/Setup/Steps/AuthenticationStep.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/library/Setup/Steps/AuthenticationStep.php b/modules/setup/library/Setup/Steps/AuthenticationStep.php index decf3b454..7c98bbbc7 100644 --- a/modules/setup/library/Setup/Steps/AuthenticationStep.php +++ b/modules/setup/library/Setup/Steps/AuthenticationStep.php @@ -104,13 +104,13 @@ class AuthenticationStep extends Step 'password' => $this->data['adminAccountData']['password'], 'is_active' => true )); + $this->dbError = false; } } catch (Exception $e) { $this->dbError = $e; return false; } - $this->dbError = false; return true; }