Skip to content

Commit 3d065c5

Browse files
committed
fix: [#585] email field if regsitration form can be empty
when email is optional for registration.
1 parent 331856c commit 3d065c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/registration/RegistrationForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<template v-if="settings && settings.email_on_signup !== EmailOnSignup.Ignored">
1313
<FormInputText
1414
v-model="form.email"
15-
type="email"
15+
:type="settings.email_on_signup === EmailOnSignup.Required ? 'email' : 'text'"
1616
label="Email"
1717
name="email"
1818
data-cy="registration-form-email"

0 commit comments

Comments
 (0)