summaryrefslogtreecommitdiff
path: root/template/reset.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/reset.st')
-rwxr-xr-xtemplate/reset.st5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/reset.st b/template/reset.st
index a388122..87c7bf8 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;
});
@@ -37,7 +38,7 @@
<div id="passwordreset">
<div id="logo-and-text">
- <a href="/"><img src="/static/img/dumpclearlogo2.png"></a>
+ <a href="/"><img src="/static/img/humpclearlogo2.png"></a>
<div align="center">
$if(valid_request)$
<div id="feedback" class="is-hidden"></div>