Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
62665602
Commit
62665602
authored
Mar 01, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
4891aa79
' into feature-restapi
parents
4408f520
4891aa79
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
User.php
framework/web/User.php
+0
-0
UserEvent.php
framework/web/UserEvent.php
+5
-0
No files found.
framework/CHANGELOG.md
View file @
62665602
...
...
@@ -72,6 +72,7 @@ Yii Framework 2 Change Log
-
Enh #1476: Add yii
\w
eb
\S
ession::handler property (nineinchnick)
-
Enh #1499: Added
`ActionColumn::controller`
property to support customizing the controller for handling GridView actions (qiangxue)
-
Enh #1523: Query conditions now allow to use the NOT operator (cebe)
-
Enh #1535: Improved
`yii\web\User`
to start session only when needed. Also prepared it for use without session. (qiangxue)
-
Enh #1562: Added
`yii\bootstrap\Tabs::linkOptions`
(kartik-v)
-
Enh #1572: Added
`yii\web\Controller::createAbsoluteUrl()`
(samdark)
-
Enh #1579: throw exception when the given AR relation name does not match in a case sensitive manner (qiangxue)
...
...
framework/web/User.php
View file @
62665602
This diff is collapsed.
Click to expand it.
framework/web/UserEvent.php
View file @
62665602
...
...
@@ -27,6 +27,11 @@ class UserEvent extends Event
*/
public
$cookieBased
;
/**
* @var integer $duration number of seconds that the user can remain in logged-in status.
* If 0, it means login till the user closes the browser or the session is manually destroyed.
*/
public
$duration
;
/**
* @var boolean whether the login or logout should proceed.
* Event handlers may modify this property to determine whether the login or logout should proceed.
* This property is only meaningful for [[User::EVENT_BEFORE_LOGIN]] and [[User::EVENT_BEFORE_LOGOUT]] events.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment