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

This commit is contained in:
Thibaut Girka
2019-03-22 13:05:17 +01:00
8 changed files with 17 additions and 15 deletions

View File

@@ -69,6 +69,10 @@ module AccountControllerConcern
end
def check_account_suspension
gone if @account.suspended?
if @account.suspended?
skip_session!
expires_in(3.minutes, public: true)
gone
end
end
end