From 8003767951ed11e580c9f18feabcdb0fb4cab137 Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Sun, 12 Mar 2017 22:06:22 +0100 Subject: [PATCH] * [FIX] Fixes #383. LDAP logins will be case-insensitive. --- inc/Base.php | 2 +- inc/SP/Util/Util.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/Base.php b/inc/Base.php index bbe56df9..2dc8b1f0 100644 --- a/inc/Base.php +++ b/inc/Base.php @@ -40,7 +40,7 @@ define('LOCALES_PATH', __DIR__ . DIRECTORY_SEPARATOR . 'locales'); define('SQL_PATH', __DIR__ . DIRECTORY_SEPARATOR . 'sql'); define('LOG_FILE', __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'syspass.log'); -define('DEBUG', true); +define('DEBUG', false); // Required random_compat polyfill for random_bytes() and random_int() // @see https://github.com/paragonie/random_compat/tree/v2.0.4#random_compat diff --git a/inc/SP/Util/Util.class.php b/inc/SP/Util/Util.class.php index 084e637d..cda9643f 100644 --- a/inc/SP/Util/Util.class.php +++ b/inc/SP/Util/Util.class.php @@ -405,8 +405,8 @@ class Util */ public static function getVersion($retBuild = false, $normalized = false) { - $build = 17030601; - $version = [2, 1, 1]; + $build = 17031201; + $version = [2, 1, 2]; if ($normalized === true) { return [implode('', $version), $build];