mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Update wording because we're overloading UserNotAuthorizedError
This commit is contained in:
@ -36,7 +36,7 @@ class EmailReceiverWorker
|
||||
when Gitlab::Email::Receiver::UserBlockedError
|
||||
reason = "Your account has been blocked. If you believe this is in error, contact a staff member."
|
||||
when Gitlab::Email::Receiver::UserNotAuthorizedError
|
||||
reason = "You are not allowed to respond to the thread you are replying to. If you believe this is in error, contact a staff member."
|
||||
reason = "You are not allowed to perform this action. If you believe this is in error, contact a staff member."
|
||||
when Gitlab::Email::Receiver::NoteableNotFoundError
|
||||
reason = "The thread you are replying to no longer exists, perhaps it was deleted? If you believe this is in error, contact a staff member."
|
||||
when Gitlab::Email::Receiver::InvalidNoteError,
|
||||
|
Reference in New Issue
Block a user