mirror of
https://github.com/humhub/humhub.git
synced 2025-03-14 12:09:44 +01:00
Fixed: Better fallback to installer cookieValidationKey
This commit is contained in:
parent
5eec096fe4
commit
139d861920
@ -27,9 +27,11 @@ class Request extends \yii\web\Request
|
||||
if (\humhub\models\Setting::isInstalled()) {
|
||||
$secret = Yii::$app->settings->get('secret');
|
||||
if ($secret != "") {
|
||||
$this->cookieValidationKey = $secret;
|
||||
$this->cookieValidationKey = $secret;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
if ($this->cookieValidationKey == '') {
|
||||
$this->cookieValidationKey = 'installer';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user