Email validations

This commit is contained in:
Aine
2022-10-08 00:11:48 +03:00
parent 6f8e850103
commit 99e509ea3a
9 changed files with 63 additions and 10 deletions

View File

@@ -145,8 +145,8 @@ func (b *Bot) initCommands() commandList {
},
{allowed: b.allowOwner}, // delimiter
{
key: roomOptionSecurityEmail,
description: "Enforce sender email address validation (`true` - enforce, `false` - disable)",
key: roomOptionSecurityMX,
description: "Enforce sender email MX check (`true` - enforce, `false` - disable)",
sanitizer: utils.SanitizeBoolString,
allowed: b.allowOwner,
},