formatting

This commit is contained in:
StefanAbl committed 2020-08-31 09:09:10 +02:00
1 parent 9dd5089940
commit 551316bcb6
1 file changed
+5 -6
+5 -6
View File
@@ -156,13 +156,12 @@ _get_keyfile() {
_saveaccountconf_mutable dynv6_keyfile "$dynv6_keyfile" _saveaccountconf_mutable dynv6_keyfile "$dynv6_keyfile"
======= =======
_get_authentication() { _get_authentication() {
dynv6_token="${DYNV6_TOKEN:-$(_readaccountconf_mutable dynv6_token)}"
if [ "$dynv6_token" ]; then
_debug "Found HTTP Token. Going to use the HTTP API and not the SSH API"
if [ "$DYNV6_TOKEN" ]; then if [ "$DYNV6_TOKEN" ]; then
_debug "Going to use the HTTP Token you specifed and saving it for futur use" _saveaccountconf_mutable dynv6_token "$dynv6_token"
_saveaccountconf_mutable dynv6_token "$DYNV6_TOKEN" fi
dynv6_token="$DYNV6_TOKEN"
elif [ "$(_readaccountconf_mutable dynv6_token)" ]; then
_debug "Found a previously used HTTP token going to use that"
dynv6_token="$(_readaccountconf_mutable dynv6_token)"
else else
_debug "no HTTP token found. Looking for an SSH key" _debug "no HTTP token found. Looking for an SSH key"
dynv6_keyfile="${dynv6_keyfile:-$(_readaccountconf_mutable dynv6_keyfile)}" dynv6_keyfile="${dynv6_keyfile:-$(_readaccountconf_mutable dynv6_keyfile)}"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.