Browse Source
Merge pull request #2864 from siwyd/fix-updating-empty-email
Fix: allow removal of email address as contact
pull/2866/head
neil
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
acme.sh
|
|
@ -3512,6 +3512,8 @@ updateaccount() { |
|
|
|
if [ "$ACME_VERSION" = "2" ]; then |
|
|
|
if [ "$ACCOUNT_EMAIL" ]; then |
|
|
|
updjson='{"contact": ["mailto:'$ACCOUNT_EMAIL'"]}' |
|
|
|
else |
|
|
|
updjson='{"contact": []}' |
|
|
|
fi |
|
|
|
else |
|
|
|
# ACMEv1: Updates happen the same way a registration is done. |
|
|
|