1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

Updated error message

This commit is contained in:
Eldad Fux 2020-04-10 21:36:21 +03:00
parent d6ec252de0
commit 442f857d2b

View file

@ -268,7 +268,7 @@ $utopia->get('/v1/account/sessions/oauth2/:provider')
}
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);