mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix: Bypass AccessControl behavior in installer
This commit is contained in:
parent
8228eae7ef
commit
e7ee4ac772
@ -86,6 +86,11 @@ class AccessControl extends \yii\base\ActionFilter
|
||||
*/
|
||||
public function beforeAction($action)
|
||||
{
|
||||
// Bypass when not installed for installer
|
||||
if (empty(Yii::$app->params['installed']) && Yii::$app->controller->module != null && Yii::$app->controller->module->id == 'installer') {
|
||||
return true;
|
||||
}
|
||||
|
||||
$identity = Yii::$app->user->getIdentity();
|
||||
|
||||
if ($identity != null && !$identity->isActive()) {
|
||||
|
@ -15,6 +15,7 @@ HumHub Change Log
|
||||
- Enh: Automatically set space default visibility in `Content::setContainer()`
|
||||
- Fix: Fixed ContentContainerSettingManager caching issue if space/user id are equal
|
||||
- Enh: Use of select2 dropdown for time zone selections
|
||||
- Fix: Bypass AccessControl behavior in installer
|
||||
|
||||
1.2.1 (June 17, 2017)
|
||||
- Fix: Invite error in french language
|
||||
|
Loading…
x
Reference in New Issue
Block a user