Fix "/api/unlink" bug.

This commit is contained in:
Yang Luo
2021-04-27 20:42:19 +08:00
parent c317d601a5
commit 43113a0ee4
2 changed files with 3 additions and 2 deletions

View File

@ -81,7 +81,8 @@ p, *, *, GET, /api/get-user, *, *
p, *, *, GET, /api/get-organizations, *, *
p, *, *, GET, /api/get-default-application, *, *
p, *, *, GET, /api/get-default-providers, *, *
p, *, !anonymous, POST, /api/upload-avatar, *, *
p, *, *, POST, /api/upload-avatar, *, *
p, *, *, POST, /api/unlink, *, *
`
sa := stringadapter.NewAdapter(ruleText)

View File

@ -197,7 +197,7 @@ class App extends Component {
}
 
 
{Setting.isMobile() ? null : Setting.getShortName(this.state.account.name)} &nbsp; <DownOutlined />
{Setting.isMobile() ? null : Setting.getShortName(this.state.account.displayName)} &nbsp; <DownOutlined />
&nbsp;
&nbsp;
&nbsp;