feat: show server version in User Menu

This commit is contained in:
Deluan
2020-02-05 23:08:04 -05:00
parent 6978790e96
commit 2dbd645292
4 changed files with 28 additions and 1 deletions
+1
View File
@@ -64,6 +64,7 @@ func handleLogin(ds model.DataStore, username string, password string, w http.Re
"name": user.Name,
"username": username,
"isAdmin": user.IsAdmin,
"version": consts.Version(),
})
}