diff --git a/php/src/Desec/DesecManager.php b/php/src/Desec/DesecManager.php index fe2dbd65..f6bb7531 100644 --- a/php/src/Desec/DesecManager.php +++ b/php/src/Desec/DesecManager.php @@ -258,7 +258,7 @@ class DesecManager { * * When a specific slug is requested and creation fails because the name is unavailable * (HTTP 400/409) or the account's domain limit is reached (HTTP 403), the domain may - * already belong to this very account — a user re-using a slug they registered earlier. + * already belong to this very account — a user reusing a slug they registered earlier. * In that case we reuse the existing domain instead of failing, so an existing-account * login can point AIO at a domain the user already owns. (deSEC returns 400 when a name * conflicts with another user's zone and 403 once the per-account domain limit is hit; @@ -320,7 +320,7 @@ class DesecManager { /** * Checks whether the authenticated account already owns the given domain. * - * Used to recover from a failed creation when the user is re-using a slug they + * Used to recover from a failed creation when the user is reusing a slug they * registered earlier: GET /domains/{name}/ returns 200 only for a domain the * token's account owns, 404 otherwise. * diff --git a/php/tests/tests/desec-existing-slug.spec.js b/php/tests/tests/desec-existing-slug.spec.js index 87a938db..01f1bfbe 100644 --- a/php/tests/tests/desec-existing-slug.spec.js +++ b/php/tests/tests/desec-existing-slug.spec.js @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import { DESEC_MOCK_URL, logInToContainersPage } from './desec-helpers.js'; -// Exercises re-using a slug the user already owns on an existing deSEC account. This is the +// Exercises reusing a slug the user already owns on an existing deSEC account. This is the // case that previously failed: deSEC answers POST /domains/ with 403 "Domain limit exceeded" // (the account is at its domain quota) even though the user owns the very slug they typed. // DesecManager now recovers by checking GET /domains/{name}/ and reusing the owned domain.