Updated error message
This commit is contained in:
parent
d6ec252de0
commit
442f857d2b
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ $utopia->get('/v1/account/sessions/oauth2/:provider')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($appId) || empty($appSecret)) {
|
if (empty($appId) || empty($appSecret)) {
|
||||||
throw new Exception('Provider is undefined, configure provider app ID and app secret key to continue', 412);
|
throw new Exception('This provider is disabled. Please configure the provider app ID and app secret key from your '.APP_NAME.' console to continue.', 412);
|
||||||
}
|
}
|
||||||
|
|
||||||
$classname = 'Appwrite\\Auth\\OAuth2\\'.ucfirst($provider);
|
$classname = 'Appwrite\\Auth\\OAuth2\\'.ucfirst($provider);
|
||||||
|
|
Loading…
Reference in a new issue