From 9cb844cbbbd4118442d85e6d7a3031f3e1e6ed5b Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Wed, 15 Feb 2023 16:32:03 +0900 Subject: [PATCH] Fix: Setting the password of a new created user via API shouldn't be required (Close #4534) (#4645) --- BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json index 6ceb4a155..12a26811e 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json @@ -108,7 +108,8 @@ }, "password": { "type": "string", - "description": "The password of the new user" + "description": "The password of the new user (if no password is set, an email will be sent to the user requiring him to set the password)", + "nullable": true }, "isAdministrator": { "type": "boolean",