mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 22:58:06 +01:00
Fixed: Redirect in space security settings
This commit is contained in:
parent
52a9fbf53f
commit
07f337a1e3
@ -29,7 +29,7 @@ class SecurityController extends Controller
|
||||
|
||||
if ($space->load(Yii::$app->request->post()) && $space->validate() && $space->save()) {
|
||||
Yii::$app->getSession()->setFlash('data-saved', Yii::t('SpaceModule.controllers_AdminController', 'Saved'));
|
||||
return $this->redirect($space->createUrl('security'));
|
||||
return $this->redirect($space->createUrl('index'));
|
||||
}
|
||||
return $this->render('index', ['model' => $space]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user