core: oauth: support lockUsername

This commit is contained in:
undefined committed 2024-09-09 14:12:25 +08:00
1 parent 80ce46a65f
commit cc331e75f3
2 files changed
+7 -2

No files matched your search

+1
View File
@@ -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>;
}