diff --git a/core/auth.js b/core/auth.js index 9825fbf8..04fcd431 100644 --- a/core/auth.js +++ b/core/auth.js @@ -80,7 +80,7 @@ function authHandler(request, response) { if (request.method == "POST" || formData.submit) { session = newSession(); sessionIsNew = true; - formData = form.decodeForm(request.body, formData); + formData = form.decodeForm(utf8Decode(request.body), formData); if (formData.submit == "Login") { var account = gDatabase.get("user:" + formData.name); account = account ? JSON.parse(account) : account;