Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
ef5ffa93
Unverified
Commit
ef5ffa93
authored
Apr 18, 2020
by
neil
Committed by
GitHub
Apr 18, 2020
Browse files
Merge pull request #2864 from siwyd/fix-updating-empty-email
Fix: allow removal of email address as contact
parents
d842ccb2
2febdfc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
ef5ffa93
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment