added key CalDAVPassword and key CardDAVPassword

If the user is choosing the config with app password, it is now also used for CalDav and CardDav.
master
HolzHannes 2021-12-15 16:22:16 +01:00 committed by GitHub
parent e1db347d03
commit 97e3227fbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -153,6 +153,10 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
<true/>
<key>CalDAVUsername</key>
<string><?=$email?></string>
<?php if($app_password === true): ?>
<key>CalDAVPassword</key>
<string><?=$password?></string>
<?php endif; ?>
<key>PayloadDescription</key>
<string>Configures CalDAV account.</string>
<key>PayloadDisplayName</key>
@ -181,6 +185,10 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
<true/>
<key>CardDAVUsername</key>
<string><?=$email?></string>
<?php if($app_password === true): ?>
<key>CardDAVPassword</key>
<string><?=$password?></string>
<?php endif; ?>
<key>PayloadDescription</key>
<string>Configures CardDAV accounts</string>
<key>PayloadDisplayName</key>