Explorar el Código

fix: Don't log SID (!) SECURITY

jamesread hace 8 meses
padre
commit
956e74a6b3
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      service/internal/api/api.go

+ 0 - 1
service/internal/api/api.go

@@ -145,7 +145,6 @@ func (api *oliveTinAPI) LocalUserLogin(ctx ctx.Context, req *connect.Request[api
 
 
 			log.WithFields(log.Fields{
 			log.WithFields(log.Fields{
 				"username": user.Username,
 				"username": user.Username,
-				"sid":      sid,
 			}).Info("LocalUserLogin: Session created and registered")
 			}).Info("LocalUserLogin: Session created and registered")
 
 
 			// Set the authentication cookie in the response headers
 			// Set the authentication cookie in the response headers