Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] API: createWebsite does not check if domainName exists already #1354

Open
iqqmuT opened this issue Nov 4, 2024 · 0 comments
Open

[BUG] API: createWebsite does not check if domainName exists already #1354

iqqmuT opened this issue Nov 4, 2024 · 0 comments

Comments

@iqqmuT
Copy link

iqqmuT commented Nov 4, 2024

Describe the bug
When using /api/createWebsite API endpoint, it does not check if the website with given domainName has already been created.

To Reproduce

  1. Use /api/createWebsite API endpoint
  2. Use /api/createWebsite API endpoint with the same request payload

Expected behavior
The second API call returns error or warning that the website exists already.

Operating system:
Ubuntu 22.04 LTS

CyberPanel version:
2.3

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant