fix update account

fix https://github.com/acmesh-official/acme.sh/issues/4009
This commit is contained in:
neilpang 2022-03-31 09:35:32 +08:00
parent 532e44bcea
commit d53262fab6

View File

@ -3758,7 +3758,7 @@ updateaccount() {
_email="$(_getAccountEmail)" _email="$(_getAccountEmail)"
if [ "$ACCOUNT_EMAIL" ]; then if [ "$_email" ]; then
updjson='{"contact": ["mailto:'$_email'"]}' updjson='{"contact": ["mailto:'$_email'"]}'
else else
updjson='{"contact": []}' updjson='{"contact": []}'