Browse Source

Merge branch 'lcd2025422' into debug

lichangdong 1 week ago
parent
commit
3369a63750
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/logic/fastgpt/set_token_logic.go

+ 1 - 1
internal/logic/fastgpt/set_token_logic.go

@@ -39,7 +39,7 @@ func (l *SetTokenLogic) SetToken(username string) (resp *types.BaseMsgResp, err
 	data, err := l.svcCtx.CoreRpc.GetUserById(context.TODO(), &core.UUIDReq{Id: claims.UserId})
 	token, err := GetToken(strconv.FormatUint(*data.DepartmentId, 10))
 	if err != nil {
-		l.clearFastGPTCookie()
+		//l.clearFastGPTCookie()
 		return nil, fmt.Errorf("invalid token3")
 	}
 	//if err != nil {