Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.breadcrumb = new PluginConfigBreadcrumbWidget({
pluginName: 'OAuth login',
el: this.$('.g-config-breadcrumb-container'),
parentView: this
}).render();
}
if (this.settingVals) {
_.each(this.providerIds, function (id) {
this.$('#g-oauth-provider-' + id + '-client-id').val(
this.settingVals['oauth.' + id + '_client_id']);
this.$('#g-oauth-provider-' + id + '-client-secret').val(
this.settingVals['oauth.' + id + '_client_secret']);
}, this);
var checked = this.settingVals['oauth.ignore_registration_policy'];
this.$('.g-ignore-registration-policy').attr('checked', checked ? 'checked' : null);
}
return this;
},