1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-07 00:26:33 +02:00

preparing to tag v0.7.1

This commit is contained in:
Mikael Roos
2015-07-25 23:20:21 +02:00
parent 6a9ef0fbbc
commit c5f35e5743
5 changed files with 14 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ Revision history
[![Build Status](https://scrutinizer-ci.com/g/mosbth/cimage/badges/build.png?b=master)](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master) [![Build Status](https://scrutinizer-ci.com/g/mosbth/cimage/badges/build.png?b=master)](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master)
v0.7.0.x (latest) v0.7.1 (2015-07-25)
------------------------------------- -------------------------------------
* Support for password hashes using `text`, `md5` and `hash`, fix #77. * Support for password hashes using `text`, `md5` and `hash`, fix #77.

View File

@@ -8,7 +8,7 @@
* *
*/ */
$version = "v0.7.0.x (latest)"; $version = "v0.7.1 (2015-07-25)";

View File

@@ -3101,7 +3101,7 @@ class CWhitelist
* *
*/ */
$version = "v0.7.0.x (latest)"; $version = "v0.7.1 (2015-07-25)";
@@ -3326,7 +3326,7 @@ $pwdType = getConfig('password_type', 'text');
$pwd = get(array('password', 'pwd'), null); $pwd = get(array('password', 'pwd'), null);
// Check if passwords match, if configured to use passwords // Check if passwords match, if configured to use passwords
$passwordMatch = false; $passwordMatch = null;
if ($pwd) { if ($pwd) {
switch($pwdType) { switch($pwdType) {
case 'md5': case 'md5':
@@ -3338,6 +3338,8 @@ if ($pwd) {
case 'text': case 'text':
$passwordMatch = ($pwdConfig === $pwd); $passwordMatch = ($pwdConfig === $pwd);
break; break;
default:
$passwordMatch = false;
} }
} }

View File

@@ -3101,7 +3101,7 @@ class CWhitelist
* *
*/ */
$version = "v0.7.0.x (latest)"; $version = "v0.7.1 (2015-07-25)";
@@ -3326,7 +3326,7 @@ $pwdType = getConfig('password_type', 'text');
$pwd = get(array('password', 'pwd'), null); $pwd = get(array('password', 'pwd'), null);
// Check if passwords match, if configured to use passwords // Check if passwords match, if configured to use passwords
$passwordMatch = false; $passwordMatch = null;
if ($pwd) { if ($pwd) {
switch($pwdType) { switch($pwdType) {
case 'md5': case 'md5':
@@ -3338,6 +3338,8 @@ if ($pwd) {
case 'text': case 'text':
$passwordMatch = ($pwdConfig === $pwd); $passwordMatch = ($pwdConfig === $pwd);
break; break;
default:
$passwordMatch = false;
} }
} }

View File

@@ -3101,7 +3101,7 @@ class CWhitelist
* *
*/ */
$version = "v0.7.0.x (latest)"; $version = "v0.7.1 (2015-07-25)";
@@ -3326,7 +3326,7 @@ $pwdType = getConfig('password_type', 'text');
$pwd = get(array('password', 'pwd'), null); $pwd = get(array('password', 'pwd'), null);
// Check if passwords match, if configured to use passwords // Check if passwords match, if configured to use passwords
$passwordMatch = false; $passwordMatch = null;
if ($pwd) { if ($pwd) {
switch($pwdType) { switch($pwdType) {
case 'md5': case 'md5':
@@ -3338,6 +3338,8 @@ if ($pwd) {
case 'text': case 'text':
$passwordMatch = ($pwdConfig === $pwd); $passwordMatch = ($pwdConfig === $pwd);
break; break;
default:
$passwordMatch = false;
} }
} }