mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-02 16:32:14 +00:00
feat(settings): support per-channel WeChat OAuth and persist payment options
This commit is contained in:
1 parent
d5819181ea
commit
54dc176725
16 files changed
+1015
-404
No files matched your search
@@ -57,6 +57,11 @@ const disabledHint = computed(() => {
|
||||
return t('auth.oauthFlow.wechatSystemBrowserOnly')
|
||||
case 'wechat_browser_required':
|
||||
return t('auth.oauthFlow.wechatBrowserOnly')
|
||||
case 'native_app_required':
|
||||
return localizeWeChatHint(
|
||||
'当前仅配置微信移动应用登录,需要在原生 App 中通过微信 SDK 发起授权。',
|
||||
'This site only has WeChat mobile app login configured. Continue from the native app through the WeChat SDK.',
|
||||
)
|
||||
case 'not_configured':
|
||||
return t('auth.oauthFlow.wechatNotConfigured')
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user