Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: generate uuid when creating new user
Stevenf0a23f46207e
diff --git a/server/user.go b/server/user.goindex b9b14e3da..f5af77986 100644--- a/server/user.go+++ b/server/user.go@@ -30,7 +30,9 @@ func (s *Server) registerUserRoutes(g *echo.Group) {return echo.NewHTTPError(http.StatusUnauthorized, "Only Host user can create member.")}- userCreate := &api.UserCreate{}+ userCreate := &api.UserCreate{+ OpenID: common.GenUUID(),+ }if err := json.NewDecoder(c.Request().Body).Decode(userCreate); err != nil {return echo.NewHTTPError(http.StatusBadRequest, "Malformatted post user request").SetInternal(err)}