summaryrefslogtreecommitdiff
path: root/template/reset.st
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-02-04 13:40:27 +0000
committeryo momma <shutup@oops.wtf>2026-02-04 13:40:27 +0000
commit120b42a2305c0a01069c8268aa9a2866923cb9ea (patch)
tree342ccf0ef10d97d4277d698aef8d46bd976dcd24 /template/reset.st
parent079fa651299418f8fed63f0d2bdb7e05abbec01a (diff)
Hump.fm: remove remaining dumpfm attributions
Diffstat (limited to 'template/reset.st')
-rwxr-xr-xtemplate/reset.st3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/reset.st b/template/reset.st
index a388122..6aace41 100755
--- a/template/reset.st
+++ b/template/reset.st
@@ -21,7 +21,8 @@
return false;
}
var nick = '$nick$';
- var hash = hex_sha1(nick + '\$' + p1 + '\$dumpfm');
+ var salt = (typeof window.AuthSalt === 'string' && window.AuthSalt) ? window.AuthSalt : 'humpfm';
+ var hash = hex_sha1(nick + '\$' + p1 + '\$' + salt);
jQuery('#hash').val(hash);
return true;
});