From eac358334048f55e750a5426de938915af30b12f Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin <godfat@godfat.org> Date: Fri, 1 Apr 2016 19:02:40 +0800 Subject: [PATCH] Update wording because we're overloading UserNotAuthorizedError --- app/workers/email_receiver_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/email_receiver_worker.rb b/app/workers/email_receiver_worker.rb index 95469f1c486..64105dbc01d 100644 --- a/app/workers/email_receiver_worker.rb +++ b/app/workers/email_receiver_worker.rb @@ -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, -- GitLab