* [FIX] Fixes #383. LDAP logins will be case-insensitive.

This commit is contained in:
nuxsmin
2017-03-12 22:06:22 +01:00
parent e1ced85309
commit 8003767951
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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];