From 71dfaa40fbf0e079230f81a8fd39376524151639 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sun, 31 Aug 2014 10:18:09 -0700 Subject: [PATCH] for now, always load from cache on login. Improve logic later --- server/handler/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handler/login.go b/server/handler/login.go index 615f4d9a..86285608 100644 --- a/server/handler/login.go +++ b/server/handler/login.go @@ -87,7 +87,7 @@ func (h *LoginHandler) GetLogin(w http.ResponseWriter, r *http.Request) error { u.Secret = login.Secret u.Name = login.Name u.SetEmail(login.Email) - u.Syncing = u.IsStale() + u.Syncing = true //u.IsStale() // todo (badrydzewski) should not always sync if err := h.users.Update(u); err != nil { return badRequest{err} }