feat(settings): support per-channel WeChat OAuth and persist payment options
This commit is contained in:
@@ -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