From b751af6db9fe23448262026bf6492556b55ee2b1 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Mon, 9 Jan 2023 22:46:02 +0530 Subject: [PATCH] feat: add code to account creation endpoint --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 5501e9fbf1..798334fbd8 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -66,7 +66,7 @@ App::post('/v1/account') ->param('email', '', new Email(), 'User email.') ->param('password', '', new Password(), 'User password. Must be at least 8 chars.') ->param('name', '', new Text(128), 'User name. Max length: 128 chars.', true) - ->param('code', '', new Text(64), 'An invite code to restrict users ', true) + ->param('code', '', new Text(64), 'An invite code to restrict user signups on the Appwrite console. Users with an invite code will be able to create accounts irrespective of email and IP whitelists.', true) ->inject('request') ->inject('response') ->inject('project')