mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-22 11:23:33 +02:00
removed session id from register
This commit is contained in:
parent
ab58d8a900
commit
53dd0c50ef
1 changed files with 0 additions and 5 deletions
|
@ -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 a new issue