Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/alan2207/bulletproof-react
/ sanitizeUser
Function
sanitizeUser
apps/nextjs-app/src/testing/mocks/utils.ts:50–51 ·
view source on GitHub ↗
(user: O)
Source
from the content-addressed store, hash-verified
48
};
49
50
export
const
sanitizeUser = <O extends object>(user: O) =>
51
omit<O>(user, [
'password'
,
'iat'
]);
52
53
export
function
authenticate({
54
email,
Callers
4
discussions.ts
File · 0.90
comments.ts
File · 0.90
authenticate
Function · 0.70
requireAuth
Function · 0.70
Calls
1
omit
Function · 0.70
Tested by
no test coverage detected