Merge pull request #2864 from siwyd/fix-updating-empty-email

Fix: allow removal of email address as contact
This commit is contained in:
neil authored and GitHub committed 2020-04-18 18:55:03 +08:00
commit ef5ffa939f
1 file changed
+2
+2
View File
@@ -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.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.