Skip to content

Commit 2a1980e

Browse files
committed
Fix vault config check
1 parent 769426c commit 2a1980e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebApp/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function init() {
5252
}
5353

5454
protected function initVault() {
55-
if ($this->config->has('vault')) {
55+
if ($this->config->has('vault') && ($this->config->get('vault')->type != 'none')) {
5656
$credentials = $this->config->getCredentialsProvider('vault', NULL);
5757
$vaultConfig = $this->config->get('vault');
5858
if ($credentials != NULL) {

0 commit comments

Comments
 (0)