Browse files

changed documentation of software in prep for 0.1; added user id to r…

…esponse for successful login
  • Loading branch information...
1 parent dfa3d9f commit c857847e93ac8baf0ea2165d0d951b626f7e9dd2 @iansmith iansmith committed Feb 2, 2012
Showing with 5 additions and 2 deletions.
  1. +4 −1
  2. +1 −1 login.go
@@ -1,9 +1,12 @@
# Seven5
-## An opinionated, stiff web framework written in go.
+## An opinionated, stiff web framework written in Go and Javascript.
For general information about the project see [seven5's documentation on github](
+For information about the latest release + screencasts: [Volga Announcement](
For information about the API, see the [seven5 package doc]( and the [store package doc](, thoughtfully
provided by godoc.
@@ -157,7 +157,7 @@ func (self *LoginGuise) ProcessRequest(req *http.Request) *http.Response {
return resp
//fmt.Printf("successful login %s and placed in session %s\n", user, session.SessionId)
- return fillBody(fmt.Sprintf(`{"sessionId":"%s"}`, session.SessionId), resp)
+ return fillBody(fmt.Sprintf(`{"sessionId":"%s", "user":"%d"}`, session.SessionId, session.User.Id), resp)
//fillBody creates the body of the response for a message back to the client. It expects to be

0 comments on commit c857847

Please sign in to comment.