mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Fix "/api/unlink" bug.
This commit is contained in:
@ -81,7 +81,8 @@ p, *, *, GET, /api/get-user, *, *
|
|||||||
p, *, *, GET, /api/get-organizations, *, *
|
p, *, *, GET, /api/get-organizations, *, *
|
||||||
p, *, *, GET, /api/get-default-application, *, *
|
p, *, *, GET, /api/get-default-application, *, *
|
||||||
p, *, *, GET, /api/get-default-providers, *, *
|
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)
|
sa := stringadapter.NewAdapter(ruleText)
|
||||||
|
@ -197,7 +197,7 @@ class App extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
{Setting.isMobile() ? null : Setting.getShortName(this.state.account.name)} <DownOutlined />
|
{Setting.isMobile() ? null : Setting.getShortName(this.state.account.displayName)} <DownOutlined />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user