diff --git a/back/lib/admin/user/del b/back/lib/admin/user/del index b6aeec1..3909301 100755 --- a/back/lib/admin/user/del +++ b/back/lib/admin/user/del @@ -48,7 +48,6 @@ printf '%s token was valid\n' "${ip}" >>"${LOGFILE}" # Check username and usernumber username="$(<<<"${qs}" grep -oP 'user=(.*)' | sed 's/^user=//')" - usernumber="$(<<<"${qs}" grep -oP 'un=(.*)' | sed 's/^un=//')" if [[ "${username}" == "" ]]; then printf 'ERROR! Username missing!\n' | tee -a "${LOGFILE}" | "${LIB_DIR}/http_res" 400 diff --git a/front/admin.Dockerfile b/front/admin.Dockerfile index 37ac712..86844b7 100644 --- a/front/admin.Dockerfile +++ b/front/admin.Dockerfile @@ -1,3 +1,3 @@ FROM httpd:2.4 COPY admin.html /usr/local/apache2/htdocs/index.html -COPY admin.js knockout.min.js /usr/local/apache2/htdocs/admin.js \ No newline at end of file +COPY admin.js knockout.min.js /usr/local/apache2/htdocs/ \ No newline at end of file diff --git a/front/dashboard.Dockerfile b/front/dashboard.Dockerfile index 1c8dc2a..388653f 100644 --- a/front/dashboard.Dockerfile +++ b/front/dashboard.Dockerfile @@ -1,3 +1,3 @@ FROM httpd:2.4 COPY dashboard.html /usr/local/apache2/htdocs/index.html -COPY dashboard.js knockout.min.js /usr/local/apache2/htdocs/dashboard.js \ No newline at end of file +COPY dashboard.js knockout.min.js /usr/local/apache2/htdocs/ \ No newline at end of file