mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-14 04:02:13 +08:00
fix update account
fix https://github.com/acmesh-official/acme.sh/issues/4009
This commit is contained in:
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": []}'
|
||||||
|
|||||||
Reference in New Issue
Block a user