octicon-rss(16/)
You've already forked yii2
mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Update QueryParamAuth.php
translate exception message
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 1 changed files with 1 additions and 1 deletions
@@ -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.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user