refactor: improve blacklisted username error by adding secondary message (#3444)

This commit is contained in:
Alexandr Garbuzov authored and GitHub committed 2023-10-30 11:31:41 +01:00
1 parent 9c6eb22862
commit 89fc14609e
6 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -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,