mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 08:41:12 +01:00
Show error message to suspended user (#3281)
This commit is contained in:
parent
bbc3db8b20
commit
676ba50601
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def check_suspension
|
||||
head 403 if current_user.account.suspended?
|
||||
forbidden if current_user.account.suspended?
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in a new issue