refactor(server/utils): update server-side constants

define array of sensitive user model fields to exclude when querying and returning
This commit is contained in:
parent 0d6acdf174
commit a88f418901
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -142,3 +142,4 @@ export const rc: RuntimeConfig & any = {
},
app: {},
};
export const doNotSelect = ["password", "auth", "ipLog"].map((b) => `-${b}`).join(" ");