Enhance activation request validation and documentation
- Updated the `RequestActivationCommandValidator` to require a non-empty comment, ensuring that users provide necessary identification information. - Modified integration tests to validate the new requirement for a comment, including a test for handling empty comments. - Updated API documentation to reflect that the comment is now mandatory and clarified its purpose. - Enhanced frontend components to enforce comment requirements and provide user guidance on the comment's importance.
This commit is contained in:
+2
-1
@@ -37,7 +37,8 @@ PnvPanel **не заменяет** Xray/3x-ui — он оркестрирует
|
||||
|
||||
### Активация пользователей
|
||||
- После регистрации пользователь **не активирован** и не может создавать конфиги.
|
||||
- Он отправляет **запрос на активацию** с комментарием (напр. «я Никита» — чтобы админ понял, кто это).
|
||||
- Он отправляет **запрос на активацию** с обязательным комментарием — кто он и откуда (напр. «я Никита,
|
||||
коллега Артёма»), чтобы админ понял, кто это.
|
||||
- Админ одобряет/отклоняет запрос **на сайте или в Telegram**. После одобрения — доступно создание конфигов.
|
||||
|
||||
### Аутентификация и восстановление доступа
|
||||
|
||||
Reference in New Issue
Block a user