|
- |
+
+ name="email" autocomplete="email" /> |
diff --git a/public/signup.php b/public/signup.php
index a0fffbdc..756697c4 100644
--- a/public/signup.php
+++ b/public/signup.php
@@ -78,24 +78,25 @@ print("".$lang_signup['text_select_lang']. $s . "
".$lang_signup['text_cookies_note']." | ");
+$formInputStyle = 'style="width: min(100%, 320px); min-width: 180px; border: 1px solid gray; box-sizing: border-box"';
if ($isPreRegisterEmailAndUsername && !empty($inv["pre_register_username"])) {
- $usernameInput = sprintf('', $inv["pre_register_username"]);
+ $usernameInput = sprintf('', $formInputStyle, htmlspecialchars($inv["pre_register_username"], ENT_QUOTES));
} else {
- $usernameInput = '';
+ $usernameInput = '';
}
if ($isPreRegisterEmailAndUsername && !empty($inv["pre_register_email"])) {
- $emailInput = sprintf('', $inv["pre_register_email"]);
+ $emailInput = sprintf('', $formInputStyle, htmlspecialchars($inv["pre_register_email"], ENT_QUOTES));
} else {
- $emailInput = '';
+ $emailInput = '';
}
?>
|
|
- |
+ |
| class="wantpassword" autocomplete="new-password" />
|
- | |
+ | class="passagain" autocomplete="new-password" /> |