Add:Server setting for default language #1103

This commit is contained in:
advplyr 2022-11-08 18:09:07 -06:00
parent 400e34a4c7
commit 6e064eeafb
8 changed files with 91 additions and 24 deletions

View file

@ -254,7 +254,8 @@ class Server {
// status check for client to see if server has been initialized
// server has been initialized if a root user exists
const payload = {
isInit: this.db.hasRootUser
isInit: this.db.hasRootUser,
language: this.db.serverSettings.language
}
if (!payload.isInit) {
payload.ConfigPath = global.ConfigPath