diff --git a/pkg/usrmgr/usrmgr.go b/pkg/usrmgr/usrmgr.go index 5e2e43e8e..8af71c41f 100644 --- a/pkg/usrmgr/usrmgr.go +++ b/pkg/usrmgr/usrmgr.go @@ -136,6 +136,7 @@ func (s Service) SignUp( session := &coredata.Session{ ID: gid.New(gid.NilTenant, coredata.SessionEntityType), UserID: user.ID, + ExpiredAt: now.Add(24 * time.Hour), CreatedAt: now, UpdatedAt: now, }