mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix account error
This commit is contained in:
@@ -379,7 +379,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
|
||||
$appSecret = OpenSSL::decrypt($appSecret['data'], $appSecret['method'], $key, 0, \hex2bin($appSecret['iv']), \hex2bin($appSecret['tag']));
|
||||
}
|
||||
|
||||
$classname = 'Appwrite\\Auth\\OAuth2\\' . \ucfirst($provider);
|
||||
$className = 'Appwrite\\Auth\\OAuth2\\' . \ucfirst($provider);
|
||||
|
||||
if (!\class_exists($className)) {
|
||||
throw new Exception('Provider is not supported', 501);
|
||||
|
||||
Reference in New Issue
Block a user