diff --git a/authclient/GithubAuth.php b/authclient/GithubAuth.php index 2e1b9df..aa21a90 100644 --- a/authclient/GithubAuth.php +++ b/authclient/GithubAuth.php @@ -53,7 +53,7 @@ protected function defaultNormalizeUserAttributeMap() }, 'email' => function ($attributes) { if (empty($attributes['email'])) { - throw new NotFoundHttpException(Yii::t('AuthFacebookModule.base', 'Please add a valid email address to your Facebook account to be able to proceed.')); + throw new NotFoundHttpException(Yii::t('AuthGithubModule.base', 'Please add a valid email address to your GitHub account to be able to proceed.')); } return $attributes['email']; },