From 442f857d2b125877fcc4b5f4432af97d3d32249d Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Fri, 10 Apr 2020 21:36:21 +0300 Subject: [PATCH] Updated error message --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 2555c262f..22aeb72fd 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -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);