diff --git a/js/dist/forum.js b/js/dist/forum.js index a7988c6..4c8eaf1 100644 Binary files a/js/dist/forum.js and b/js/dist/forum.js differ diff --git a/js/dist/forum.js.map b/js/dist/forum.js.map index d4916cf..c314cbb 100644 Binary files a/js/dist/forum.js.map and b/js/dist/forum.js.map differ diff --git a/js/src/forum/components/oauth/AuthorizePage.js b/js/src/forum/components/oauth/AuthorizePage.js index a3ac9d9..6d31f91 100644 --- a/js/src/forum/components/oauth/AuthorizePage.js +++ b/js/src/forum/components/oauth/AuthorizePage.js @@ -69,6 +69,12 @@ export default class AuthorizePage extends IndexPage { let default_scopes = []; this.scopes.map(scope => { + let index = scopes_temp.indexOf(scope.scope()); + if (index > -1) { + scopes_temp[index] = scope; + } else { + scopes_temp.slice(index, 1); + } if (scope.is_default() === 1) { default_scopes.push(scope); }