mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
acctfuncs.inc.php: Fix indentation
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
1aec9f7124
commit
5463bdeff6
1 changed files with 3 additions and 2 deletions
|
@ -119,7 +119,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
|
|||
$error = __("Missing User ID");
|
||||
}
|
||||
|
||||
if (!$error && !valid_username($U) && !user_is_privileged($editor_user))
|
||||
if (!$error && !valid_username($U) && !user_is_privileged($editor_user)) {
|
||||
$error = __("The username is invalid.") . "<ul>\n"
|
||||
."<li>" . __("It must be between %s and %s characters long",
|
||||
USERNAME_MIN_LEN, USERNAME_MAX_LEN )
|
||||
|
@ -127,6 +127,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
|
|||
. "<li>" . __("Start and end with a letter or number") . "</li>"
|
||||
. "<li>" . __("Can contain only one period, underscore or hyphen.")
|
||||
. "</li>\n</ul>";
|
||||
}
|
||||
|
||||
if (!$error && $P && $C && ($P != $C)) {
|
||||
$error = __("Password fields do not match.");
|
||||
|
|
Loading…
Add table
Reference in a new issue