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

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

Loading…
Cancel
Save