mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
fix update account
fix https://github.com/acmesh-official/acme.sh/issues/4009
This commit is contained in:
parent
532e44bcea
commit
d53262fab6
2
acme.sh
2
acme.sh
@ -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": []}'
|
||||||
|
Loading…
Reference in New Issue
Block a user