From 36202d8defb26f87264914f60c39c768cff3729e Mon Sep 17 00:00:00 2001 From: yo momma Date: Tue, 3 Feb 2026 22:01:05 +0000 Subject: Hump.fm: remove dump.fm branding --- static/js/fullscreen.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'static/js/fullscreen.js') diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js index 38e09ee..89cb163 100755 --- a/static/js/fullscreen.js +++ b/static/js/fullscreen.js @@ -1,5 +1,5 @@ function initFullscreen(room){ - Room = room || "dumpfm"; + Room = room || (typeof window.DefaultRoom === 'string' && window.DefaultRoom ? window.DefaultRoom : 'humpfm'); // Timestamp = Timestamp || Date.now(); refresh(); ImageCache = []; @@ -121,7 +121,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') { -- cgit v1.2.3-70-g09d2