diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/service/service.go b/service/service.go index ca80a2b..2f87fa3 100644 --- a/service/service.go +++ b/service/service.go @@ -840,10 +840,6 @@ func (s *service) NewSession(c *client, instance string) (rurl string, sess *mod instanceURL = "https://" + instance } - sid, err := util.NewSessionID() - if err != nil { - return - } csrf, err := util.NewCSRFToken() if err != nil { return @@ -861,7 +857,6 @@ func (s *service) NewSession(c *client, instance string) (rurl string, sess *mod } rurl = app.AuthURI sess = &model.Session{ - ID: sid, Instance: instance, ClientID: app.ClientID, ClientSecret: app.ClientSecret, |