From dcc82eb424c4966ecfa621cc2fc1cac8001a40af Mon Sep 17 00:00:00 2001 From: Alexander Davis Date: Mon, 10 Aug 2020 22:58:20 +0100 Subject: [PATCH] Adding statement brackets (#73) --- app/public/actions/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/public/actions/login.php b/app/public/actions/login.php index c557f78..0598f9d 100644 --- a/app/public/actions/login.php +++ b/app/public/actions/login.php @@ -25,7 +25,7 @@ $alert = array("danger", "Error during check for user record: " . $e->getMessage()); } - if empty($user_exist_sql) { + if (empty($user_exist_sql)) { // User doesn't already exist try { $stmt = "INSERT INTO users (uuid, uid, given_name, family_name, email) VALUES (:sub, :username, :given, :family, :email)";