Skip to content

Commit 8134e42

Browse files
committed
remove weibo
1 parent a14ad0b commit 8134e42

File tree

3 files changed

+40
-11
lines changed

3 files changed

+40
-11
lines changed

package-lock.json

Lines changed: 39 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/modal/src/ui/config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const restrictedLoginMethods: Set<AUTH_CONNECTION_TYPE> = new Set([
99
AUTH_CONNECTION.PASSKEYS,
1010
AUTH_CONNECTION.TELEGRAM,
1111
AUTH_CONNECTION.AUTHENTICATOR,
12-
AUTH_CONNECTION.WEIBO,
1312
]);
1413
export const AUTH_PROVIDERS = Object.values(AUTH_CONNECTION).filter((x) => !restrictedLoginMethods.has(x));
1514

packages/modal/src/ui/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface UIConfig extends CoreUIConfig, LoginModalConfig {
3030
/**
3131
* order of how login methods are shown
3232
*
33-
* @defaultValue `["google", "facebook", "twitter", "reddit", "discord", "twitch", "apple", "line", "github", "kakao", "linkedin", "weibo", "wechat", "email_passwordless"]`
33+
* @defaultValue `["google", "facebook", "twitter", "reddit", "discord", "twitch", "apple", "line", "github", "kakao", "linkedin", "wechat", "email_passwordless"]`
3434
*/
3535
loginMethodsOrder?: string[];
3636

0 commit comments

Comments
 (0)