mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 01:38:19 +08:00
core: oauth: support lockUsername
This commit is contained in:
2 files changed
+7
-2
No files matched your search
@@ -801,6 +801,7 @@ export interface ModuleInterfaces {
|
||||
icon?: string;
|
||||
get: (this: Handler) => Promise<void>;
|
||||
callback: (this: Handler, args: Record<string, any>) => Promise<OAuthUserResponse>;
|
||||
lockUsername?: boolean;
|
||||
};
|
||||
hash: (password: string, salt: string, user: User) => boolean | string | Promise<string>;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user