Core: Email validation error does not appear if the domain extension is intentionally left out

Created on 7 Oct 2020  路  2Comments  路  Source: flarum/core

Bug Report

Current Behavior
In beta 14, for the email input field, email validation error does not appear if the domain extension is intentionally left out.

Steps to Reproduce

  1. Log out of your current session.
  2. Click on "Sign Up".
  3. Fil out the username and password fields with dummy credentials.
  4. Fill out the email field and omit the domain extension at the end (i.e. ralkage@flarum).
  5. Click on "Sign Up".

Expected Behavior
A "The email must be a valid email address" validation error should appear when the domain extension is left out of the email address field.

Screenshots


Beta 13

image
image222
image


Beta 14

image
image
image
image

Environment

  • Flarum version: v0.1.0-beta.14
  • Website URL: https://qa.flarum.site
  • Webserver: Nginx
  • Hosting environment: Unknown
  • PHP version: 7.3.11
  • Browser: Microsoft Edge Version 85.0.564.70 (Official build) (64-bit)

Possible Solution

N/A

Additional Context
This occurs on any modal that allows the ability to add, remove, or edit a user's email address such as the Sign Up, Edit User, and Edit Email modals (see screenshots).

typbug

All 2 comments

Was this page helpful?
0 / 5 - 0 ratings