[VD:FlysystemGoogleDriveNetmount] err message correction

This commit is contained in:
nao-pon
2016-03-24 23:59:43 +09:00
parent 9c78158954
commit c5bf61a2d5
+3 -3
View File
@@ -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);
}
}