Skip to content

Commit a1b50e7

Browse files
committed
Add server version to JSON logincheck response
To facilitate enabling features in client based on version
1 parent bc08bf8 commit a1b50e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/WebServer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@ namespace http {
822822
}
823823
_log.Log(LOG_STATUS, "Login successfull : user '%s'", m_users[iUser].Username.c_str());
824824
root["status"] = "OK";
825+
root["version"] = szAppVersion;
825826
root["title"] = "logincheck";
826827
m_pWebEm->m_actualuser = m_users[iUser].Username;
827828
m_pWebEm->m_actualuser_rights = m_users[iUser].userrights;

0 commit comments

Comments
 (0)