Browse Source

Merge pull request #5252 from williamdes/patch-1

Add ACCOUNT_THUMBPRINT to update account
pull/5255/head
neil 1 month ago
committed by GitHub
parent
commit
fe30bf7d09
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      acme.sh

3
acme.sh

@ -3881,6 +3881,9 @@ updateaccount() {
if [ "$code" = '200' ]; then if [ "$code" = '200' ]; then
echo "$response" >"$ACCOUNT_JSON_PATH" echo "$response" >"$ACCOUNT_JSON_PATH"
_info "Account update success for $_accUri." _info "Account update success for $_accUri."
ACCOUNT_THUMBPRINT="$(__calc_account_thumbprint)"
_info "ACCOUNT_THUMBPRINT" "$ACCOUNT_THUMBPRINT"
else else
_info "An error occurred and the account was not updated." _info "An error occurred and the account was not updated."
return 1 return 1

Loading…
Cancel
Save