public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
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.
97e3227f
data/web/mobileconfig.php | 8 ++++++++
1 file changed, 8 insertions(+)
Diff
diff --git a/data/web/mobileconfig.php b/data/web/mobileconfig.php
index 532e405c..44aaa30a 100644
--- a/data/web/mobileconfig.php
+++ b/data/web/mobileconfig.php
@@ -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>