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

This commit is contained in:
GRUNBLATT Remy 2020-05-30 11:28:20 +02:00 committed by JC Brand
parent 4b1efd1e1f
commit 9050b2fe88

View File

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