mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-26 15:26:26 +00:00
fix frontend wechat oauth capability recovery
This commit is contained in:
1 parent
7c6491c2d3
commit
cd0338fbae
8 files changed
+219
-32
No files matched your search
@@ -133,6 +133,8 @@
|
||||
:oidc-enabled="oidcEnabled"
|
||||
:oidc-provider-name="oidcProviderName"
|
||||
:wechat-enabled="wechatEnabled"
|
||||
:wechat-open-enabled="wechatOpenEnabled"
|
||||
:wechat-mp-enabled="wechatMpEnabled"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -156,12 +158,16 @@ const props = withDefaults(
|
||||
oidcEnabled?: boolean
|
||||
oidcProviderName?: string
|
||||
wechatEnabled?: boolean
|
||||
wechatOpenEnabled?: boolean
|
||||
wechatMpEnabled?: boolean
|
||||
}>(),
|
||||
{
|
||||
linuxdoEnabled: false,
|
||||
oidcEnabled: false,
|
||||
oidcProviderName: 'OIDC',
|
||||
wechatEnabled: false,
|
||||
wechatOpenEnabled: undefined,
|
||||
wechatMpEnabled: undefined,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user