[FIX] Custom OAuth not being completely deleted (#21637)

pull/21587/head^2
siva 5 years ago committed by GitHub
parent d48fae0acc
commit daa05cab36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/lib/server/methods/removeOAuthService.js

@ -43,5 +43,9 @@ Meteor.methods({
settings.removeById(`Accounts_OAuth_Custom-${ name }-merge_roles`);
settings.removeById(`Accounts_OAuth_Custom-${ name }-merge_users`);
settings.removeById(`Accounts_OAuth_Custom-${ name }-show_button`);
settings.removeById(`Accounts_OAuth_Custom-${ name }-groups_claim`);
settings.removeById(`Accounts_OAuth_Custom-${ name }-channels_admin`);
settings.removeById(`Accounts_OAuth_Custom-${ name }-map_channels`);
settings.removeById(`Accounts_OAuth_Custom-${ name }-groups_channel_map`);
},
});

Loading…
Cancel
Save