summaryrefslogtreecommitdiff
path: root/static/js/fullscreenmgmt.js
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-02-03 22:01:05 +0000
committeryo momma <shutup@oops.wtf>2026-02-03 22:01:05 +0000
commit36202d8defb26f87264914f60c39c768cff3729e (patch)
treea57224b8bba7fc7a7c65a8c3b0408847e9043a3d /static/js/fullscreenmgmt.js
parentd220d620e425ee6128c83229467e3ccac8f3ebf2 (diff)
Hump.fm: remove dump.fm branding
Diffstat (limited to 'static/js/fullscreenmgmt.js')
-rwxr-xr-xstatic/js/fullscreenmgmt.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/fullscreenmgmt.js b/static/js/fullscreenmgmt.js
index 189b79a..1387110 100755
--- a/static/js/fullscreenmgmt.js
+++ b/static/js/fullscreenmgmt.js
@@ -132,7 +132,8 @@ function login() {
var nick = $('#nickInput').val();
var password = $('#passwordInput').val() || '';
var rememberme = $('#remembermeInput').attr('checked') ? 'yes' : '';
- var hash = password ? hex_sha1(nick + '$' + password + '$dumpfm') : '';
+ var salt = (typeof window.AuthSalt === 'string' && window.AuthSalt) ? window.AuthSalt : 'humpfm';
+ var hash = password ? hex_sha1(nick + '$' + password + '$' + salt) : '';
var onSuccess = function(json) {
if (typeof pageTracker !== 'undefined') {