[VD:FlysystemGoogleDriveNetmount] optimize netmount dialog

This commit is contained in:
nao-pon
2016-03-25 17:05:36 +09:00
parent d8032f49c3
commit 038c12a662
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class elFinderVolumeFlysystemGoogleDriveNetmount extends \Barryvdh\elFinderFlysy
$client->setClientId($options['client_id']);
$client->setClientSecret($options['client_secret']);
if ($options['pass'] === 'revoke') {
if ($options['pass'] === 'reauth') {
$options['pass'] = '';
$this->session->set('GoogleDriveAuthParams', [])->set('GoogleDriveTokens', []);
} else if ($options['pass'] === 'googledrive') {