fix spelling

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-06-22 15:27:01 +02:00
parent 9cfd5b41f6
commit ebad4fd06f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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.
*
+1 -1
View File
@@ -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.