Oauth Provider settings should be an array and not an object for forEach to work
This commit is contained in:
parent
4b1efd1e1f
commit
9050b2fe88
@ -74,7 +74,7 @@ converse.plugins.add("converse-oauth", {
|
|||||||
const { __ } = _converse;
|
const { __ } = _converse;
|
||||||
|
|
||||||
api.settings.update({
|
api.settings.update({
|
||||||
'oauth_providers': {},
|
'oauth_providers': [],
|
||||||
});
|
});
|
||||||
|
|
||||||
_converse.OAuthProviders = Collection.extend({
|
_converse.OAuthProviders = Collection.extend({
|
||||||
|
Loading…
Reference in New Issue
Block a user