diff options
Diffstat (limited to '')
-rwxr-xr-x | skripti/spremeni_geslo_ul.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skripti/spremeni_geslo_ul.sh b/skripti/spremeni_geslo_ul.sh index f2e5686..533bba5 100755 --- a/skripti/spremeni_geslo_ul.sh +++ b/skripti/spremeni_geslo_ul.sh @@ -5,6 +5,7 @@ read s echo vpiši novo geslo read n p=`rev <<<$0 | cut -d/ -f1 | rev` +umask 0077 t=`mktemp -p "" $p.XXX` trap "rm $t" EXIT r=`curl --cookie $t --cookie-jar $t https://id.uni-lj.si/DigitalnaIdentiteta/SpremembaGesla | grep RequestVerificationToken | tail -n1 | cut -d\" -f6` |