Commit dd3a5032 by Raeef Refai

Update QueryParamAuth.php

translate exception message
parent 05e21b72
...@@ -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