mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:FlysystemGoogleDriveNetmount] err message correction
This commit is contained in:
@@ -107,11 +107,11 @@ class elFinderVolumeFlysystemGoogleDriveNetmount extends \Barryvdh\elFinderFlysy
|
||||
$this->session->set('GoogleDriveAuthParams', $options);
|
||||
|
||||
} catch (Exception $e) {
|
||||
$aToken = array();
|
||||
unset($options['access_token']);
|
||||
$aToken = [];
|
||||
$options['access_token'] = [];
|
||||
if ($options['user'] !== 'init') {
|
||||
$this->session->set('GoogleDriveAuthParams', $options);
|
||||
return array('exit' => true, 'error' => elFinder::ERROR_ACCESS_DENIED);
|
||||
return array('exit' => true, 'error' => elFinder::ERROR_REAUTH_REQUIRE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user