summaryrefslogtreecommitdiff
path: root/matrix-specification/Responses/ClientRegisterPostResponse.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2026-04-10 22:38:59 +0200
committerDaniel Weipert <git@mail.dweipert.de>2026-04-10 22:38:59 +0200
commit875b9ece501de5937993c41a83c44f8ea59897d0 (patch)
tree04579bcb80c9fdb43502d178b3ee145a818afe28 /matrix-specification/Responses/ClientRegisterPostResponse.php
parent74a524ded12c6527745957ac219e1ca34828aa6c (diff)
register and login to Cinny clientHEADmain
Diffstat (limited to 'matrix-specification/Responses/ClientRegisterPostResponse.php')
-rw-r--r--matrix-specification/Responses/ClientRegisterPostResponse.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/matrix-specification/Responses/ClientRegisterPostResponse.php b/matrix-specification/Responses/ClientRegisterPostResponse.php
index 6ed65ce..2b6dabe 100644
--- a/matrix-specification/Responses/ClientRegisterPostResponse.php
+++ b/matrix-specification/Responses/ClientRegisterPostResponse.php
@@ -17,12 +17,16 @@ class ClientRegisterPostResponse extends Response
)
{}
- public function validateRequired(ClientRegisterPostRequest $request): void
+ public function validateRequired(/*?ClientRegisterPostRequest $request*/): void
{
+ /* if (is_null($request)) {
+ return;
+ }
+
$requestBody = $request->getBody();
if ($requestBody["inhibit_login"] === false) {
# TODO: validate
- }
+ } */
}
public function getBody(): array