core: async hash calculation (#779)

This commit is contained in:
Yang Gao authored and GitHub committed 2024-04-09 08:13:50 +08:00
1 parent e207cb4194
commit e9a1ece808
5 files changed
+20 -14

No files matched your search

+1 -1
View File
@@ -787,7 +787,7 @@ export interface ModuleInterfaces {
get: (this: Handler) => Promise<void>;
callback: (this: Handler, args: Record<string, any>) => Promise<OAuthUserResponse>;
};
hash: (password: string, salt: string, user: User) => boolean | string;
hash: (password: string, salt: string, user: User) => boolean | string | Promise<string>;
render: (name: string, state: any) => string | Promise<string>;
}