vdirsyncer: allow option userName, disallow userNameCommand

1. account option `userName` is now allowed by `programs.vdirsyncer`

2. The commented out account option `userNameCommand` was required to be set
   by `programs.vdirsyncer` (e.g. as `null`).
   It is now disallowed (commented out) by vdirsyncer.
This commit is contained in:
Johannes Rosenberger 2019-07-29 17:59:02 +02:00 committed by Robert Helgesson
parent f8ec686211
commit 8e49f65f24
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -36,7 +36,8 @@ let
((getAttrs [ ((getAttrs [
"type" "type"
"url" "url"
"userNameCommand" "userName"
#"userNameCommand"
"passwordCommand" "passwordCommand"
] a.remote) // ] a.remote) //
(if a.vdirsyncer == null (if a.vdirsyncer == null