Node.js based forum software built for the modern web
fix: #9865, don't display register messages after login
Barış Soner Uşaklı96f5312de9db
diff --git a/public/src/client/login.js b/public/src/client/login.jsindex 204dd799e2..b839c00efb 100644--- a/public/src/client/login.js+++ b/public/src/client/login.js@@ -39,6 +39,7 @@ define('forum/login', ['hooks', 'translator', 'jquery-form'], function (hooks, tvar pathname = utils.urlToLocation(data.next).pathname;var params = utils.params({ url: data.next });params.loggedin = true;+ delete params.register; // clear register message incase it existsvar qs = decodeURIComponent($.param(params));window.location.href = pathname + '?' + qs;