mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix: Check SoftDeleted user state in ControllerAccess
This commit is contained in:
parent
eedc64c2ec
commit
c62079c706
@ -441,7 +441,9 @@ class ControllerAccess extends BaseObject
|
||||
*/
|
||||
public function validateDisabledUser()
|
||||
{
|
||||
return $this->isGuest() || $this->user->status !== User::STATUS_DISABLED;
|
||||
return $this->isGuest() ||
|
||||
($this->user->status !== User::STATUS_DISABLED &&
|
||||
$this->user->status !== User::STATUS_SOFT_DELETED);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -9,6 +9,7 @@ HumHub Change Log
|
||||
- Fix: Space un-archived activity view path broken
|
||||
- Enh: Accepting module README.md files in 'docs' directory
|
||||
- Fix: Include user profile posts option in dashboard stream broken
|
||||
- Fix: Check SoftDeleted user state in ControllerAccess
|
||||
|
||||
|
||||
1.3.8 (December 10, 2018)
|
||||
|
Loading…
x
Reference in New Issue
Block a user