diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql index 0a0c8069..98e8be04 100644 --- a/schema/aur-schema.sql +++ b/schema/aur-schema.sql @@ -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 '', diff --git a/upgrading/4.2.0.txt b/upgrading/4.2.0.txt index 37cbeae1..c195f41b 100644 --- a/upgrading/4.2.0.txt +++ b/upgrading/4.2.0.txt @@ -9,3 +9,9 @@ CREATE TABLE OfficialProviders ( ) ENGINE = InnoDB; CREATE UNIQUE INDEX ProviderNameProvides ON OfficialProviders (Name, Provides); ---- + +2. Resize the email address field: + +---- +ALTER TABLE Users MODIFY Email VARCHAR(256) NOT NULL; +---- diff --git a/web/html/login.php b/web/html/login.php index cef9be48..0a2a1c97 100644 --- a/web/html/login.php +++ b/web/html/login.php @@ -29,7 +29,7 @@ html_header('AUR ' . __("Login"));
- +
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index b25ff397..28da2032 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -69,7 +69,7 @@
- (= __("required") ?>) + (= __("required") ?>)