We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03642c8 commit b89226cCopy full SHA for b89226c
packages/server/src/types.ts
@@ -81,7 +81,7 @@ export interface DBInterface {
81
setService(userId: string, serviceName: string, data: object): Promise<void>;
82
83
// Password related operation
84
- findPasswordHash(userId: string): Promise<string>;
+ findPasswordHash(userId: string): Promise<string | null>;
85
findUserByResetPasswordToken(token: string): Promise<UserObjectType | null>;
86
setPassword(userId: string, newPassword: string): Promise<void>;
87
addResetPasswordToken(
0 commit comments