mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Merge pull request #4167 from raeef-refai/patch-1
Update QueryParamAuth.php
This commit is contained in:
@ -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.'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user