diff --git a/scripts/reset-password.sh b/scripts/reset-password.sh index a11588b..e629e7f 100755 --- a/scripts/reset-password.sh +++ b/scripts/reset-password.sh @@ -133,5 +133,9 @@ REMOTE unset PASSWORT PASSWORT2 -echo "==> Fertig. Probe:" -echo " curl -su werkbaum: https://werkbaum.javagil.de/api/v1/documents" +echo "==> Fertig. Probe — curl fragt selbst nach dem Passwort:" +echo " curl -su werkbaum /api/v1/documents" +echo +echo " Bewusst OHNE Passwort im Befehl: In 'curl -u werkbaum:ge\$heim' fasst" +echo " die Shell es genauso an wie beim Hashen — und dann ist die Antwort" +echo " ein 401, obwohl der Hash stimmt."