User accounts can now be deleted with some UI to prevent accidental deletion

This commit is contained in:
Stefan Zermatten
2021-02-25 14:28:51 +02:00
parent a5460bba0b
commit 2a983b0a94
10 changed files with 268 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
import SimpleSchema from 'simpl-schema';
import { ValidatedMethod } from 'meteor/mdg:validated-method';
import { RateLimiterMixin } from 'ddp-rate-limiter-mixin';
import '/imports/api/users/deleteMyAccount.js';
const userSchema = new SimpleSchema({
username: {