mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-13 08:19:20 +02:00
removed session id from register
This commit is contained in:
parent
ab58d8a900
commit
53dd0c50ef
|
@ -991,10 +991,6 @@ func (s *service) NewSessionRegister(c *client, instance string, reason string,
|
|||
instanceURL = "https://" + instance
|
||||
}
|
||||
|
||||
sid, err := util.NewSessionID()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
csrf, err := util.NewCSRFToken()
|
||||
if err != nil {
|
||||
return
|
||||
|
@ -1021,7 +1017,6 @@ func (s *service) NewSessionRegister(c *client, instance string, reason string,
|
|||
return
|
||||
}
|
||||
sess = &model.Session{
|
||||
ID: sid,
|
||||
Instance: instance,
|
||||
UserID: "1",
|
||||
ClientID: app.ClientID,
|
||||
|
|
Loading…
Reference in New Issue