flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.39k stars 834 forks source link

[1.x] fix: change length of email field #4117

Closed DavideIadeluca closed 4 days ago

DavideIadeluca commented 5 days ago

1.x pendent to #4118

Fixes #0000 It appears as if the email validator allows 254 chars for the entire email, while the DB field only allows 150. This results in email addresses simply being truncated without any error message when creating users with longer email addresses.

Changes proposed in this pull request: Increase length of email field to 254 chars to match the validator

Reviewers should focus on: See https://www.rfc-editor.org/errata/eid1690

Screenshot

Necessity

Confirmed

Required changes: