发布

  • fix: add nil check for currentUser in DeleteUser
    Build and Push Stable Image / prepare (push) Has been cancelled
    Build and Push Stable Image / build-frontend (push) Has been cancelled
    Build and Push Stable Image / build-push (linux/amd64) (push) Has been cancelled
    Build and Push Stable Image / build-push (linux/arm/v7) (push) Has been cancelled
    Build and Push Stable Image / build-push (linux/arm64) (push) Has been cancelled
    Build and Push Stable Image / merge (push) Has been cancelled

    frostbyte_neo 发布于 2026-01-31 15:08:09 +00:00

    Defense-in-depth fix: Add missing nil check before accessing
    currentUser.ID and currentUser.Role in DeleteUser function.

    While the auth interceptor should block unauthenticated requests,
    this check prevents potential nil pointer panic if fetchCurrentUser
    returns (nil, nil).

    下载附件