From 89fa7ed3cbb77d61e28a2ba88d67cdd499d1f95c Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 12 Aug 2013 12:02:59 -0400 Subject: [PATCH] Reverted the change to User::loginUrl. --- framework/yii/web/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/yii/web/User.php b/framework/yii/web/User.php index b55a38c..0ad8f68 100644 --- a/framework/yii/web/User.php +++ b/framework/yii/web/User.php @@ -45,12 +45,12 @@ class User extends Component * the name-value pairs are GET parameters used to construct the login URL. For example, * * ~~~ - * array('/site/login', 'ref' => 1) + * array('site/login', 'ref' => 1) * ~~~ * * If this property is null, a 403 HTTP exception will be raised when [[loginRequired()]] is called. */ - public $loginUrl = array('/site/login'); + public $loginUrl = array('site/login'); /** * @var array the configuration of the identity cookie. This property is used only when [[enableAutoLogin]] is true. * @see Cookie