aboutsummaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
Diffstat (limited to 'auth')
-rw-r--r--auth/donmai.zsh10
-rw-r--r--auth/moebooru.zsh6
-rw-r--r--auth/sankakucomplex.zsh5
3 files changed, 0 insertions, 21 deletions
diff --git a/auth/donmai.zsh b/auth/donmai.zsh
index 995957c..f6f445f 100644
--- a/auth/donmai.zsh
+++ b/auth/donmai.zsh
@@ -41,22 +41,12 @@ fi
if [[ "$(jq -r '.success' "${ib_auth_file}")" == "false" ]]
then
output_text="Error: <code>$(jq -r '.message' "${ib_auth_file}" | htmlescape)</code>"
- log_text="ib_auth (${update_id}): Error: $(jq -r '.message' "${ib_auth_file}")"
-
- . "${units}/log.zsh"
- . "${units}/dump.zsh"
-
return 0
fi
if [[ "$(jq -r '.name' "${ib_auth_file}")" != "${ib_login}" ]]
then
output_text="Failed to verify user authorization"
- log_text="ib_auth (${update_id}): ${output_text}"
-
- . "${units}/log.zsh"
- . "${units}/dump.zsh"
-
return 0
fi
diff --git a/auth/moebooru.zsh b/auth/moebooru.zsh
index cb19665..5458b11 100644
--- a/auth/moebooru.zsh
+++ b/auth/moebooru.zsh
@@ -31,10 +31,4 @@ fi
if ! jq -e '.' "${ib_auth_file}" > /dev/null
then
output_text="Invalid username or API key"
- log_text="ib_auth (${update_id}): ${output_text}"
-
- . "${units}/log.zsh"
- . "${units}/dump.zsh"
-
- return 0
fi
diff --git a/auth/sankakucomplex.zsh b/auth/sankakucomplex.zsh
index 86010be..45b9d3a 100644
--- a/auth/sankakucomplex.zsh
+++ b/auth/sankakucomplex.zsh
@@ -49,11 +49,6 @@ fi
if [[ "$(jq -r '.success' "${ib_auth_file}")" != "true" ]]
then
output_text="Error: <code>$(jq -r '.error' "${ib_auth_file}" | htmlescape)</code>"
- log_text="ib_auth (${update_id}): Error: $(jq -r '.error' "${ib_auth_file}")"
-
- . "${units}/log.zsh"
- . "${units}/dump.zsh"
-
return 0
fi