diff --git a/main.go b/main.go index 5a2880e..d253a7b 100644 --- a/main.go +++ b/main.go @@ -285,7 +285,7 @@ func startHandler(w http.ResponseWriter, r *http.Request) { } model := map[string]interface{}{"conf": conf.Wide, "i18n": i18n.GetAll(locale), "locale": locale, - "username": username, "workspace": userWorkspace, "ver": conf.WideVersion, "session": wSession} + "username": username, "workspace": userWorkspace, "ver": conf.WideVersion, "sid": sid} t, err := template.ParseFiles("views/start.html") diff --git a/views/start.html b/views/start.html index b79561b..382e1f0 100644 --- a/views/start.html +++ b/views/start.html @@ -7,7 +7,7 @@
  • - {{.session.ID}} + {{.sid}}