From dd3a503298cf40167a329b25dba5b7b831c7ab75 Mon Sep 17 00:00:00 2001 From: Raeef Refai Date: Wed, 2 Jul 2014 06:20:17 +0300 Subject: [PATCH] Update QueryParamAuth.php translate exception message --- framework/filters/auth/QueryParamAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/filters/auth/QueryParamAuth.php b/framework/filters/auth/QueryParamAuth.php index 4b143b0b75..d0066eb905 100644 --- a/framework/filters/auth/QueryParamAuth.php +++ b/framework/filters/auth/QueryParamAuth.php @@ -47,6 +47,6 @@ class QueryParamAuth extends AuthMethod */ public function handleFailure($response) { - throw new UnauthorizedHttpException('You are requesting with an invalid access token.'); + throw new UnauthorizedHttpException(Yii::t('yii', 'You are requesting with an invalid access token.')); } }