Browse Source

Fixes #1597: Added `enableAutoLogin` to basic and advanced application templates so "remember me" now works properly

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
a7cf6a984c
  1. 1
      apps/advanced/backend/config/main.php
  2. 1
      apps/advanced/frontend/config/main.php
  3. 1
      apps/basic/config/web.php
  4. 1
      framework/CHANGELOG.md

1
apps/advanced/backend/config/main.php

@ -22,6 +22,7 @@ return [
'mail' => $params['components.mail'],
'user' => [
'identityClass' => 'common\models\User',
'enableAutoLogin' => true,
],
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,

1
apps/advanced/frontend/config/main.php

@ -23,6 +23,7 @@ return [
'mail' => $params['components.mail'],
'user' => [
'identityClass' => 'common\models\User',
'enableAutoLogin' => true,
],
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,

1
apps/basic/config/web.php

@ -12,6 +12,7 @@ $config = [
],
'user' => [
'identityClass' => 'app\models\User',
'enableAutoLogin' => true,
],
'errorHandler' => [
'errorAction' => 'site/error',

1
framework/CHANGELOG.md

@ -12,6 +12,7 @@ Yii Framework 2 Change Log
- Bug #1550: fixed the issue that JUI input widgets did not property input IDs.
- Bug #1582: Error messages shown via client-side validation should not be double encoded (qiangxue)
- Bug #1591: StringValidator is accessing undefined property (qiangxue)
- Bug #1597: Added `enableAutoLogin` to basic and advanced application templates so "remember me" now works properly (samdark)
- Bug: Fixed `Call to a member function registerAssetFiles() on a non-object` in case of wrong `sourcePath` for an asset bundle (samdark)
- Bug: Fixed incorrect event name for `yii\jui\Spinner` (samdark)
- Bug: Json::encode() did not handle objects that implement JsonSerializable interface correctly (cebe)

Loading…
Cancel
Save