Skip to content

Commit 7aa7292

Browse files
committed
fix: fix appconfig usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent eaf2ba4 commit 7aa7292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DavPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function initialize(Server $server): void {
3636

3737
public function beforeMethod(RequestInterface $request, ResponseInterface $response): void {
3838
if (
39-
$this->config->getValueString('type', 'unset') === 'environment-variable'
39+
$this->config->getValueString('user_saml', 'type', 'unset') === 'environment-variable'
4040
&& !$this->session->exists('user_saml.samlUserData')
4141
) {
4242
$uidMapping = $this->samlSettings->get(1)['general-uid_mapping'];

0 commit comments

Comments
 (0)