MCPcopy Create free account
hub / github.com/RemoteState/nodejs-ecs / ComparePassword

Method ComparePassword

src/utils/index.ts:8–10  ·  view source on GitHub ↗
(plain: string, hash: string)

Source from the content-addressed store, hash-verified

6 }
7
8 public static ComparePassword(plain: string, hash: string): boolean {
9 return bcrypt.compareSync(plain, hash);
10 }
11}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected