mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Support long email addresses
According to RFC 3696 (and the associated errata), an email address can be up to 256 characters long. Change the database field and the length limit on all input fields accordingly. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
f9ac67f691
commit
d52b2f50b9
4 changed files with 9 additions and 3 deletions
|
@ -25,7 +25,7 @@ CREATE TABLE Users (
|
|||
AccountTypeID TINYINT UNSIGNED NOT NULL DEFAULT 1,
|
||||
Suspended TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
Username VARCHAR(32) NOT NULL,
|
||||
Email VARCHAR(64) NOT NULL,
|
||||
Email VARCHAR(256) NOT NULL,
|
||||
HideEmail TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
Passwd CHAR(32) NOT NULL,
|
||||
Salt CHAR(32) NOT NULL DEFAULT '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue