From 124a1c164667a05f858fc49a737707296f4cdef2 Mon Sep 17 00:00:00 2001 From: Lukas Burk Date: Mon, 17 Apr 2017 02:07:34 +0200 Subject: [PATCH] Add users:clear rake task to admin guide (#73) --- Running-Mastodon/Administration-guide.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Running-Mastodon/Administration-guide.md b/Running-Mastodon/Administration-guide.md index 8bcfe7c9..dd8e13e2 100644 --- a/Running-Mastodon/Administration-guide.md +++ b/Running-Mastodon/Administration-guide.md @@ -43,3 +43,10 @@ The following rake task: RAILS_ENV=production bundle exec rails mastodon:confirm_email USER_EMAIL=alice@alice.com Will confirm a user manually, in case they don't have access to their confirmation email for whatever reason. + +## Clearing Unconfirmed Users Manually + + RAILS_ENV=production rake mastodon:users:clear + +Will remove users that never confirmed their e-mail and never signed in, meaning they +only have a user record and an avatar record, with no files uploaded.