update error message to login one
This commit is contained in:
parent
be3111dc6f
commit
3ebc5d1c80
|
@ -63,7 +63,7 @@ function create_user($arr) {
|
||||||
try {
|
try {
|
||||||
$authurl = $openid->authUrl();
|
$authurl = $openid->authUrl();
|
||||||
} catch (Exception $e){
|
} catch (Exception $e){
|
||||||
$result['message'] .= t('Error:').$e->getMessage() . EOL . t('Check your OpenID url') . EOL;
|
$result['message'] .= t("We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID."). EOL . EOL . t("The error message was:") . $e->getMessage() . EOL;
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
goaway($authurl);
|
goaway($authurl);
|
||||||
|
|
Loading…
Reference in a new issue