diff --git a/framework/yii/web/User.php b/framework/yii/web/User.php index 61d68f2..6dda2b8 100644 --- a/framework/yii/web/User.php +++ b/framework/yii/web/User.php @@ -319,7 +319,9 @@ class User extends Component * to the current page after successful login. Make sure you set [[loginUrl]] * so that the user browser can be redirected to the specified login URL after * calling this method. - * After calling this method, the current request processing will be terminated. + * + * Note that when [[loginUrl]] is set, calling this method will NOT terminate the application execution. + * * @return Response the redirection response if [[loginUrl]] is set * @throws AccessDeniedHttpException the "Access Denied" HTTP exception if [[loginUrl]] is not set */