Commit 9d94734d by Qiang Xue

Merge pull request #4167 from raeef-refai/patch-1

Update QueryParamAuth.php
parents 05e21b72 dd3a5032
...@@ -47,6 +47,6 @@ class QueryParamAuth extends AuthMethod ...@@ -47,6 +47,6 @@ class QueryParamAuth extends AuthMethod
*/ */
public function handleFailure($response) 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.'));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment