mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: async hash calculation (#779)
This commit is contained in:
1 parent
e207cb4194
commit
e9a1ece808
5 files changed
+20
-14
No files matched your search
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user