mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 12:01:27 +00: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
|
instanceURL = "https://" + instance
|
||||||
}
|
}
|
||||||
|
|
||||||
sid, err := util.NewSessionID()
|
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
csrf, err := util.NewCSRFToken()
|
csrf, err := util.NewCSRFToken()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
@ -1021,7 +1017,6 @@ func (s *service) NewSessionRegister(c *client, instance string, reason string,
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
sess = &model.Session{
|
sess = &model.Session{
|
||||||
ID: sid,
|
|
||||||
Instance: instance,
|
Instance: instance,
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
ClientID: app.ClientID,
|
ClientID: app.ClientID,
|
||||||
|
|
Loading…
Reference in a new issue