Skip to content
Snippets Groups Projects
Commit b1a2fa63 authored by timothycarambat's avatar timothycarambat
Browse files

Stringify username/pass

parent b8d37d9f
No related branches found
No related tags found
No related merge requests found
...@@ -951,10 +951,10 @@ function systemEndpoints(app) { ...@@ -951,10 +951,10 @@ function systemEndpoints(app) {
const updates = {}; const updates = {};
if (username) { if (username) {
updates.username = username; updates.username = String(username);
} }
if (password) { if (password) {
updates.password = password; updates.password = String(password);
} }
if (Object.keys(updates).length === 0) { if (Object.keys(updates).length === 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment