Closed matt-j-m closed 1 year ago
Can you provide me with the form configuration that led to this? Specifically the bit that looks like this:
form:
...
process:
...
email:
... (this part specifically)
It's for a user registration with the login plugin. Here's the frontmatter for the registration page:
title: 'Registration'
process:
twig: true
markdown: false
metadata:
robots: 'noindex,nofollow'
forms:
registration-form:
fields:
username:
display_label: false
classes: 'mt-2'
outerclasses: field-container-wide
placeholder: Username
type: text
validate:
required: true
message: PLUGIN_LOGIN.USERNAME_NOT_VALID
config-pattern@: system.username_regex
email:
display_label: false
classes: 'mt-2'
outerclasses: field-container-wide
placeholder: Email
type: email
validate:
required: true
pattern: '^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]*$'
message: 'Must be a valid email address.'
password:
id: password
display_label: false
classes: 'mt-2'
outerclasses: 'field-container-wide margin-0'
placeholder: 'Enter a password'
type: password
label: 'Enter a password'
validate:
required: true
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex
toggle:
display_label: false
classes: 'mt-2'
type: checkbox
label: 'Show password'
outerclasses: field-container-wide
buttons:
-
type: submit
value: Register
classes: 'btn btn-secondary text-uppercase mt-2'
outerclasses: text-center
process:
-
register_user: true
4.0.2 is in the pipeline to be released. This should resolve your issue.
Thanks @rhukster email is now sending on v4.0.2
Working perfectly for me on v3.2.0. When I update to 4.x email fails to send with the following messages: