diff --git a/api/account.go b/api/account.go index 33a3933..7e3160b 100644 --- a/api/account.go +++ b/api/account.go @@ -142,7 +142,7 @@ func (s *Server) HandleAccountLogin(w http.ResponseWriter, r *http.Request) { return } - token := make([]byte, 16) + token := make([]byte, 32) _, err = rand.Read(token) if err != nil {