Merge branch 'patch-1' into 'master'

Update Auth.php

See merge request composer/php-auth-client!1
This commit is contained in:
候学杰 2019-02-18 16:58:11 +08:00
commit 019c361236

View File

@ -97,6 +97,12 @@ class Auth
$this->id = $this->config['apps']['op']['id'];
$this->secret = $this->config['apps']['op']['secret'];
break;
case 'payment':
case 'paymeny_api':
$this->id = $this->config['apps']['payment']['id'];
$this->secret = $this->config['apps']['payment']['secret'];
break;
}
return $this;
}