Permalink
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 README.md
  2. +1 −1 login.go
View
@@ -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](http://seven5.github.com/seven5).
+For information about the latest release + screencasts: [Volga Announcement](https://github.com/seven5/seven5/wiki/ANN:-Seven5:-First-Public-Release)
+
+
For information about the API, see the [seven5 package doc](http://gopkgdoc.appspot.com/pkg/github.com/seven5/seven5) and the [store package doc](http://gopkgdoc.appspot.com/pkg/github.com/seven5/seven5/store), thoughtfully
provided by godoc.
View
@@ -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.