Update QueryParamAuth.php

translate exception message
This commit is contained in:
Raeef Refai
2014-07-02 06:20:17 +03:00
parent 05e21b7291
commit dd3a503298

View File

@ -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.'));
} }
} }