Add server version to login response

This commit is contained in:
jmt-gh 2022-06-09 11:28:03 -07:00
parent e740692ea8
commit d03e20606e

View file

@ -97,6 +97,7 @@ class Auth {
user: user.toJSONForBrowser(), user: user.toJSONForBrowser(),
userDefaultLibraryId: user.getDefaultLibraryId(this.db.libraries), userDefaultLibraryId: user.getDefaultLibraryId(this.db.libraries),
serverSettings: this.db.serverSettings.toJSON(), serverSettings: this.db.serverSettings.toJSON(),
serverVersion: this.db.serverSettings.version,
Source: global.Source Source: global.Source
} }
} }