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
e0b206a3
Commit
e0b206a3
authored
Jan 05, 2015
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`\yii\authclient\AuthAction::defaultCancelUrl()` changed to use `yii\web\User::loginUrl`
parent
902a9972
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
AuthAction.php
extensions/authclient/AuthAction.php
+2
-1
CHANGELOG.md
extensions/authclient/CHANGELOG.md
+1
-1
No files found.
extensions/authclient/AuthAction.php
View file @
e0b206a3
...
@@ -11,6 +11,7 @@ use yii\base\Action;
...
@@ -11,6 +11,7 @@ use yii\base\Action;
use
yii\base\Exception
;
use
yii\base\Exception
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidConfigException
;
use
yii\base\NotSupportedException
;
use
yii\base\NotSupportedException
;
use
yii\helpers\Url
;
use
yii\web\Response
;
use
yii\web\Response
;
use
yii\web\HttpException
;
use
yii\web\HttpException
;
use
yii\web\NotFoundHttpException
;
use
yii\web\NotFoundHttpException
;
...
@@ -156,7 +157,7 @@ class AuthAction extends Action
...
@@ -156,7 +157,7 @@ class AuthAction extends Action
*/
*/
protected
function
defaultCancelUrl
()
protected
function
defaultCancelUrl
()
{
{
return
Yii
::
$app
->
getRequest
()
->
getAbsoluteUrl
(
);
return
Url
::
to
(
Yii
::
$app
->
getUser
()
->
loginUrl
);
}
}
/**
/**
...
...
extensions/authclient/CHANGELOG.md
View file @
e0b206a3
...
@@ -4,7 +4,7 @@ Yii Framework 2 authclient extension Change Log
...
@@ -4,7 +4,7 @@ Yii Framework 2 authclient extension Change Log
2.
0.2 under development
2.
0.2 under development
-----------------------
-----------------------
-
no changes in this release.
-
Bug #6510: Fixed infinite redirect loop using default
`\yii\authclient\AuthAction::cancelUrl`
(klimov-paul)
2.0.1 December 07, 2014
2.0.1 December 07, 2014
...
...
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