feat: support mobile login with WeChat Official Accounts (#383)

* fix: adjust the accessToken field

Signed-off-by: 0x2a <stevesough@gmail.com>

* fix: missing name and owner

Signed-off-by: 0x2a <stevesough@gmail.com>

* feat: support mobile login with WeChat

Signed-off-by: 0x2a <stevesough@gmail.com>
This commit is contained in:
Steve0x2a
2021-12-20 20:21:12 +08:00
committed by GitHub
parent 8f0995ca34
commit 99ef329325
3 changed files with 11 additions and 2 deletions

View File

@ -257,7 +257,7 @@ class ProviderEditPage extends React.Component {
</Select>
</Col>
</Row>
{this.state.provider.type === "WeCom" ? (
{this.state.provider.type === "WeCom" || this.state.provider.type === "WeChat" ? (
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{Setting.getLabel(i18next.t("provider:Method"), i18next.t("provider:Method - Tooltip"))} :