refactor: improve blacklisted username error by adding secondary message (#3444)
This commit is contained in:
1 parent
9c6eb22862
commit
89fc14609e
6 files changed
+12
-6
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ export default async (req, res) => {
|
||||
|
||||
if (blacklist.includes(username)) {
|
||||
return res.send(
|
||||
renderError("Something went wrong", "", {
|
||||
renderError("Something went wrong", "This username is blacklisted", {
|
||||
title_color,
|
||||
text_color,
|
||||
bg_color,
|
||||
|
||||
Reference in new issue
Block a user