소스 검색

Oauth Provider settings should be an array and not an object for forEach to work

GRUNBLATT Remy 5 년 전
부모
커밋
9050b2fe88
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/converse-oauth.js

+ 1 - 1
src/converse-oauth.js

@@ -74,7 +74,7 @@ converse.plugins.add("converse-oauth", {
         const { __ } = _converse;
 
         api.settings.update({
-            'oauth_providers': {},
+            'oauth_providers': [],
         });
 
         _converse.OAuthProviders = Collection.extend({