summaryrefslogtreecommitdiff
path: root/bin/passwd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/passwd.sh')
-rwxr-xr-xbin/passwd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/passwd.sh b/bin/passwd.sh
index 62267fc46..45335853e 100755
--- a/bin/passwd.sh
+++ b/bin/passwd.sh
@@ -6,7 +6,7 @@ if [ -z "$1" ]; then
exit 2
fi
-(./apicall.sh "ConfigAccounts_p.html?setAdmin=&adminuser=admin&adminpw1=$1&adminpw2=$1&access=" > /dev/null && \
+(./protectedPostApiCall.sh "ConfigAccounts_p.html" "setAdmin=&adminuser=admin&adminpw1=$1&adminpw2=$1&access=" && \
echo "Password for User Name 'admin' set to '$1'") || \
(echo "Password setting failed" && \
exit 1) \ No newline at end of file