From 45e964c7aae9c6b599f76549a9f69e2103d503f0 Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Wed, 27 Jun 2012 20:23:42 -0400
Subject: [PATCH] Return login errors for PostgreSQL setup

---
 lib/setup.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/setup.php b/lib/setup.php
index e1c1a110b3..59c3aefbf1 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -163,6 +163,7 @@ class OC_Setup {
 						'error' => 'PostgreSQL username and/or password not valid',
 						'hint' => 'You need to enter either an existing account or the administrator.'
 					);
+					return $error;
 				}
 				else {
 					//check for roles creation rights in postgresql
-- 
GitLab