mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Merge branch 'develop' of git://github.com/funkycram/humhub into funkycram-develop
This commit is contained in:
commit
f497d7ec18
@ -14,6 +14,7 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
|
||||
- Fix #5177: Move directory widgets
|
||||
- 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 #5182: Password field should not be required if user has no password
|
||||
|
||||
|
||||
1.9.0-beta.2 (July 14, 2021)
|
||||
|
@ -43,7 +43,7 @@ class CheckPasswordValidator extends Validator
|
||||
|
||||
/**
|
||||
* Checks if current user has a password set.
|
||||
*
|
||||
*
|
||||
* @param User $user the user or null for current
|
||||
* @return boolean
|
||||
*/
|
||||
@ -57,7 +57,7 @@ class CheckPasswordValidator extends Validator
|
||||
return false;
|
||||
}
|
||||
|
||||
return ($user->currentPassword !== null);
|
||||
return !empty($user->currentPassword->currentPassword);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -59,6 +59,7 @@ use yii\web\IdentityInterface;
|
||||
* @property integer $visibility
|
||||
* @property integer $contentcontainer_id
|
||||
* @property Profile $profile
|
||||
* @property Password $currentPassword
|
||||
*
|
||||
* @property string $displayName
|
||||
* @property string $displayNameSub
|
||||
|
Loading…
x
Reference in New Issue
Block a user