Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
eac35833
Commit
eac35833
authored
Apr 01, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wording because we're overloading UserNotAuthorizedError
parent
869de96e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/workers/email_receiver_worker.rb
app/workers/email_receiver_worker.rb
+1
-1
No files found.
app/workers/email_receiver_worker.rb
View file @
eac35833
...
@@ -36,7 +36,7 @@ class EmailReceiverWorker
...
@@ -36,7 +36,7 @@ class EmailReceiverWorker
when
Gitlab
::
Email
::
Receiver
::
UserBlockedError
when
Gitlab
::
Email
::
Receiver
::
UserBlockedError
reason
=
"Your account has been blocked. If you believe this is in error, contact a staff member."
reason
=
"Your account has been blocked. If you believe this is in error, contact a staff member."
when
Gitlab
::
Email
::
Receiver
::
UserNotAuthorizedError
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
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."
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
,
when
Gitlab
::
Email
::
Receiver
::
InvalidNoteError
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment