Browse Source

Config Cross-subdomain authentication

dev
keun 6 years ago
parent
commit
0d4d7cdea7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      common/config/main.php

+ 1
- 0
common/config/main.php View File

@@ -14,6 +14,7 @@ return [
],
'session' => [
'class' => 'yii\web\Session',
'name' => 'PHPLABOITEAPAINSESSID',
'cookieParams' => [
'domain' => '.'.Yii::getAlias('@domainName'),
'httpOnly' => true,

Loading…
Cancel
Save