mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 05:01:40 +00:00
Username/password no longer required
This commit is contained in:
parent
9ab318cafc
commit
f9e3a2132f
@ -46,15 +46,6 @@ _acmeproxy_request() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
## Check for the credentials
|
||||
if [ -z "$ACMEPROXY_USERNAME" ] || [ -z "$ACMEPROXY_PASSWORD" ]; then
|
||||
ACMEPROXY_USERNAME=""
|
||||
ACMEPROXY_PASSWORD=""
|
||||
_err "You didn't set username and password"
|
||||
_err "Please set them via 'export ACMEPROXY_USERNAME=...' and 'export ACMEPROXY_PASSWORD=...' and try again."
|
||||
return 1
|
||||
fi
|
||||
|
||||
## Save the credentials to the account file
|
||||
_saveaccountconf_mutable ACMEPROXY_ENDPOINT "$ACMEPROXY_ENDPOINT"
|
||||
_saveaccountconf_mutable ACMEPROXY_USERNAME "$ACMEPROXY_USERNAME"
|
||||
|
Loading…
Reference in New Issue
Block a user