Merge branch 'develop' of git://github.com/funkycram/humhub into funkycram-develop

This commit is contained in:
Lucas Bartholemy 2021-07-21 19:53:12 +02:00
commit f497d7ec18
3 changed files with 4 additions and 2 deletions

View File

@ -14,6 +14,7 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #5177: Move directory widgets - Fix #5177: Move directory widgets
- Enh #5049: Required profile field should not be required in administration (Fix for checkbox field type) - Enh #5049: Required profile field should not be required in administration (Fix for checkbox field type)
- Fix #5009: Fix video thumbnail on Safari browser - Fix #5009: Fix video thumbnail on Safari browser
- Fix #5182: Password field should not be required if user has no password
1.9.0-beta.2 (July 14, 2021) 1.9.0-beta.2 (July 14, 2021)

View File

@ -57,7 +57,7 @@ class CheckPasswordValidator extends Validator
return false; return false;
} }
return ($user->currentPassword !== null); return !empty($user->currentPassword->currentPassword);
} }
} }

View File

@ -59,6 +59,7 @@ use yii\web\IdentityInterface;
* @property integer $visibility * @property integer $visibility
* @property integer $contentcontainer_id * @property integer $contentcontainer_id
* @property Profile $profile * @property Profile $profile
* @property Password $currentPassword
* *
* @property string $displayName * @property string $displayName
* @property string $displayNameSub * @property string $displayNameSub