From df143ee011ff9548dc41226ba1e4af46f8f96f0a Mon Sep 17 00:00:00 2001 From: Lennart Fleischmann Date: Thu, 1 Feb 2024 21:39:27 +0100 Subject: [PATCH] chore: update config json schema --- backend/json_schema/hanko.config.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/backend/json_schema/hanko.config.json b/backend/json_schema/hanko.config.json index aa5cb0d70..b31056aea 100644 --- a/backend/json_schema/hanko.config.json +++ b/backend/json_schema/hanko.config.json @@ -130,6 +130,9 @@ "webauthn": { "$ref": "#/$defs/WebauthnSettings" }, + "smtp": { + "$ref": "#/$defs/SMTP" + }, "passcode": { "$ref": "#/$defs/Passcode" }, @@ -379,19 +382,17 @@ "email": { "$ref": "#/$defs/Email" }, - "smtp": { - "$ref": "#/$defs/SMTP" - }, "ttl": { "type": "integer", "default": 300 + }, + "smtp": { + "$ref": "#/$defs/SMTP", + "description": "Deprecated: Use root level Smtp instead" } }, "additionalProperties": false, - "type": "object", - "required": [ - "smtp" - ] + "type": "object" }, "Password": { "properties": {