fix для работы с vmangos
This commit is contained in:
@@ -13,8 +13,7 @@ class LauncherAuthController extends Controller
|
||||
{
|
||||
public function __construct(
|
||||
private readonly VMangosAccountService $accounts,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
#[OA\Post(
|
||||
path: '/api/launcher/login',
|
||||
@@ -27,7 +26,7 @@ class LauncherAuthController extends Controller
|
||||
required: ['username', 'password'],
|
||||
properties: [
|
||||
new OA\Property(property: 'username', type: 'string', minLength: 3, maxLength: 16, pattern: '^[A-Za-z0-9]+$', example: 'Player'),
|
||||
new OA\Property(property: 'password', type: 'string', minLength: 3, maxLength: 16, example: 'secret123'),
|
||||
new OA\Property(property: 'password', type: 'string', minLength: 3, maxLength: 255, example: 'secret123'),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user