Add /api/oauth/code API.

This commit is contained in:
Yang Luo
2021-03-14 18:18:03 +08:00
parent 202a94a8e5
commit 1fd6ee388c
7 changed files with 164 additions and 11 deletions

View File

@ -88,6 +88,16 @@ class TokenEditPage extends React.Component {
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("general:Authorization Code")}:
</Col>
<Col span={22} >
<Input value={this.state.token.code} onChange={e => {
this.updateTokenField('code', e.target.value);
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("general:Access Token")}: