diff --git a/home/roles/emacs/doom/config.el b/home/roles/emacs/doom/config.el index f5a23b0..e132a44 100644 --- a/home/roles/emacs/doom/config.el +++ b/home/roles/emacs/doom/config.el @@ -99,10 +99,10 @@ (interactive) (require 'org-caldav) (let* ((password (my/get-rbw-password "nextcloud-caldav")) - (auth-entry (list "nextcloud.johnogle.info:443" - (cons "johno" password)))) - ;; Set up URL auth cache - (setq url-http-basic-auth-storage (list auth-entry)) + (auth-string (base64-encode-string (format "johno:%s" password) t))) + ;; Set up URL basic auth cache (format: ((SERVER (PATH . BASE64-AUTH)))) + (setq url-http-basic-auth-storage + `(("nextcloud.johnogle.info:443" ("/" . ,auth-string)))) (org-caldav-sync))) (use-package! org-caldav