Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TomDoesTech/REST-API-Tutorial
/ comparePassword
Method
comparePassword
src/model/user.model.ts:11–11 ·
view source on GitHub ↗
(candidatePassword: string)
Source
from the content-addressed store, hash-verified
9
createdAt: Date;
10
updatedAt: Date;
11
comparePassword(candidatePassword: string): Promise<boolean>;
12
}
13
14
const
UserSchema =
new
mongoose.Schema(
Callers
1
validatePassword
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected