From ebde1af0486f642f0c00aa5cdc942a60273487f3 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sat, 13 Jul 2024 11:37:46 +0100 Subject: [PATCH] Update Email Login --- engine/user/send-email-code.js | 6 +++--- users/send-email-code.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/user/send-email-code.js b/engine/user/send-email-code.js index 707051c..d8ffc0e 100644 --- a/engine/user/send-email-code.js +++ b/engine/user/send-email-code.js @@ -12,9 +12,9 @@ const path = require("path"); * @param {string} param0.email * @param {import("../../types/database-schema.td").DSQL_DatabaseSchemaType} [param0.dbSchema] * @param {string} param0.email_login_field - * @param {string} param0.mail_domain - * @param {string} param0.mail_username - * @param {string} param0.mail_password + * @param {string} [param0.mail_domain] + * @param {string} [param0.mail_username] + * @param {string} [param0.mail_password] * @param {number} [param0.mail_port] * @param {string} [param0.sender] * @returns diff --git a/users/send-email-code.js b/users/send-email-code.js index 9bc05a7..1d27c8f 100644 --- a/users/send-email-code.js +++ b/users/send-email-code.js @@ -41,9 +41,9 @@ const localSendEmailCode = require("../engine/user/send-email-code"); * @param {String} params.encryptionKey - Encryption Key * @param {String} params.encryptionSalt - Encryption Salt * @param {string} [params.temp_code_field] - Database table field name for temporary code - * @param {string} params.mail_domain - * @param {string} params.mail_username - * @param {string} params.mail_password + * @param {string} [params.mail_domain] + * @param {string} [params.mail_username] + * @param {string} [params.mail_password] * @param {number} [params.mail_port] * @param {string} [params.sender] *