Merge branch 'master' into glitch-soc/merge-upstream

This commit is contained in:
Thibaut Girka
2019-05-15 17:11:40 +02:00
39 changed files with 271 additions and 155 deletions

View File

@@ -87,8 +87,8 @@ module Mastodon
end
end
account.suspended = false
user.account = account
account.suspended_at = nil
user.account = account
if user.save
if options[:confirmed]