enhance(backend): usernameに対してもprohibitedWordsForNameOfUserを適用 (#16282)

* enhance(backend): usernameに対してもprohibitedWordsForNameOfUserを適用
Resolve #16281

* fix locales/index/d.ts
This commit is contained in:
tamaina
2025-07-15 09:32:46 +09:00
committed by GitHub
parent 08cc5a99bb
commit ad7bf096e1
3 changed files with 7 additions and 2 deletions

2
locales/index.d.ts vendored
View File

@@ -5231,7 +5231,7 @@ export interface Locale extends ILocale {
*/
"prohibitedWordsForNameOfUser": string;
/**
* このリストに含まれる文字列がユーザーの名前に含まれる場合、ユーザーの名前の変更を拒否します。モデレーター権限を持つユーザーはこの制限の影響を受けません。
* このリストに含まれる文字列がユーザーの名前に含まれる場合、ユーザーの名前の変更を拒否します。モデレーター権限を持つユーザーはこの制限の影響を受けません。ユーザー名(username)に対しても全て小文字に置き換えて検査します。
*/
"prohibitedWordsForNameOfUserDescription": string;
/**