diff --git a/authz/authz.go b/authz/authz.go index 28373595..762c5f8a 100644 --- a/authz/authz.go +++ b/authz/authz.go @@ -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) diff --git a/web/src/App.js b/web/src/App.js index 4064f37e..96aae672 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -197,7 +197,7 @@ class App extends Component { }     - {Setting.isMobile() ? null : Setting.getShortName(this.state.account.name)}   + {Setting.isMobile() ? null : Setting.getShortName(this.state.account.displayName)}