mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
Stringify username/pass
This commit is contained in:
parent
b8d37d9f43
commit
b1a2fa6385
1 changed files with 2 additions and 2 deletions
|
@ -951,10 +951,10 @@ function systemEndpoints(app) {
|
|||
|
||||
const updates = {};
|
||||
if (username) {
|
||||
updates.username = username;
|
||||
updates.username = String(username);
|
||||
}
|
||||
if (password) {
|
||||
updates.password = password;
|
||||
updates.password = String(password);
|
||||
}
|
||||
|
||||
if (Object.keys(updates).length === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue