mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-08 04:48:44 +00:00
Disallow moderators/administrators from issuing cases against each other (#781)
* Disallow moderators/administrators from issuing cases against each other * Resolve suggestions from reviewers * Only request user from db if id is valid
This commit is contained in:
parent
572c942ee8
commit
2a85b6a136
4 changed files with 28 additions and 8 deletions
|
@ -30,9 +30,6 @@
|
|||
<data name="password_doesnt_match" xml:space="preserve">
|
||||
<value>Passwords do not match!</value>
|
||||
</data>
|
||||
<data name="token_invalid" xml:space="preserve">
|
||||
<value>Invalid Token</value>
|
||||
</data>
|
||||
<data name="captcha_failed" xml:space="preserve">
|
||||
<value>You must complete the captcha correctly.</value>
|
||||
</data>
|
||||
|
@ -42,7 +39,7 @@
|
|||
<data name="email_invalid" xml:space="preserve">
|
||||
<value>Email address field is required.</value>
|
||||
</data>
|
||||
<data name="user_banned" xml:space="preserve">
|
||||
<value>You have been banned. Please contact an administrator for more information.\nReason: {0}</value>
|
||||
<data name="action_no_permission" xml:space="preserve">
|
||||
<value>You don't have permissions to perform this action.</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Add table
Add a link
Reference in a new issue