Skip to content

Commit

Permalink
deploy: 38bb986
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq committed Mar 2, 2024
1 parent ac7be90 commit 22a9ed5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions files/redaxo-main/redaxo/src/addons/users/pages/users.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ if ('' != $fUNCADD || $userId > 0) {
$addAdminChkbox = '';
}
$addStatusChkbox = '<input type="checkbox" id="rex-user-status" name="userstatus" value="1" ' . $statuschecked . ' />';
$addUserLogin = '<input class="form-control" type="text" id="rex-user-login" name="userlogin" value="' . rex_escape($userlogin) . '" required autofocus autocomplete="username" />';
$addUserLogin = '<input class="form-control" type="text" id="rex-user-login" name="userlogin" value="' . rex_escape($userlogin) . '" required maxlength="255" autofocus autocomplete="username" inputmode="email" autocorrect="off" autocapitalize="off" />';

$formElements = [];

Expand Down Expand Up @@ -417,7 +417,7 @@ if ('' != $fUNCADD || $userId > 0) {

$n = [];
$n['label'] = '<label for="rex-js-user-password" class="required">' . rex_i18n::msg('password') . '</label>';
$n['field'] = '<input class="form-control" type="password" id="rex-js-user-password" name="userpsw" autocomplete="new-password" ' . rex_string::buildAttributes($passwordPolicy->getHtmlAttributes()) . ' />';
$n['field'] = '<input class="form-control" type="password" id="rex-js-user-password" name="userpsw" autocomplete="new-password" autocorrect="off" autocapitalize="off" ' . rex_string::buildAttributes($passwordPolicy->getHtmlAttributes()) . ' />';
$n['note'] = $passwordPolicy->getDescription();

$formElements[] = $n;
Expand Down Expand Up @@ -445,7 +445,7 @@ if ('' != $fUNCADD || $userId > 0) {

$n = [];
$n['label'] = '<label for="rex-user-name">' . rex_i18n::msg('name') . '</label>';
$n['field'] = '<input class="form-control" type="text" id="rex-user-name" name="username" value="' . rex_escape($username) . '" autocomplete="name" />';
$n['field'] = '<input class="form-control" type="text" id="rex-user-name" name="username" value="' . rex_escape($username) . '" autocomplete="name" maxlength="255" />';
$formElements[] = $n;

$n = [];
Expand All @@ -455,7 +455,7 @@ if ('' != $fUNCADD || $userId > 0) {

$n = [];
$n['label'] = '<label for="rex-user-email">' . rex_i18n::msg('email') . '</label>';
$n['field'] = '<input class="form-control" type="email" placeholder="[email protected]" id="rex-user-email" name="useremail" value="' . rex_escape($useremail) . '" autocomplete="email" />';
$n['field'] = '<input class="form-control" type="email" placeholder="[email protected]" id="rex-user-email" name="useremail" value="' . rex_escape($useremail) . '" autocomplete="email" maxlength="255" />';
$formElements[] = $n;

$fragment = new rex_fragment();
Expand Down
4 changes: 2 additions & 2 deletions files/redaxo-main/redaxo/src/core/pages/login.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $formElements = [];

$inputGroups = [];
$n = [];
$n['field'] = '<input class="form-control" type="text" value="' . rex_escape($rexUserLogin) . '" id="rex-id-login-user" name="rex_user_login" autocomplete="username webauthn" autofocus />';
$n['field'] = '<input class="form-control" type="text" value="' . rex_escape($rexUserLogin) . '" id="rex-id-login-user" name="rex_user_login" autocomplete="username webauthn" inputmode="email" autocorrect="off" autocapitalize="off" autofocus />';
$n['left'] = '<i class="rex-icon rex-icon-user"></i>';
$inputGroups[] = $n;

Expand All @@ -62,7 +62,7 @@ $formElements[] = $n;

$inputGroups = [];
$n = [];
$n['field'] = '<input class="form-control" type="password" name="rex_user_psw" id="rex-id-login-password" autocomplete="current-password" />';
$n['field'] = '<input class="form-control" type="password" name="rex_user_psw" id="rex-id-login-password" autocomplete="current-password" autocorrect="off" autocapitalize="off" />';
$n['left'] = '<i class="rex-icon rex-icon-password"></i>';
$inputGroups[] = $n;

Expand Down
10 changes: 5 additions & 5 deletions files/redaxo-main/redaxo/src/core/pages/profile.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ $formElements[] = $n;

$n = [];
$n['label'] = '<label for="rex-id-username">' . rex_i18n::msg('name') . '</label>';
$n['field'] = '<input class="form-control" type="text" id="rex-id-username" name="username" value="' . rex_escape($username) . '" autocomplete="name" autofocus />';
$n['field'] = '<input class="form-control" type="text" id="rex-id-username" name="username" value="' . rex_escape($username) . '" autocomplete="name" maxlength="255" autofocus />';
$formElements[] = $n;

$n = [];
Expand All @@ -235,7 +235,7 @@ $formElements[] = $n;

$n = [];
$n['label'] = '<label for="rex-id-useremail">' . rex_i18n::msg('email') . '</label>';
$n['field'] = '<input class="form-control" type="email" id="rex-id-useremail" name="useremail" value="' . rex_escape($useremail) . '" />';
$n['field'] = '<input class="form-control" type="email" id="rex-id-useremail" name="useremail" value="' . rex_escape($useremail) . '" maxlength="255" />';
$formElements[] = $n;

$n = [];
Expand Down Expand Up @@ -291,7 +291,7 @@ $confirmField = static function (string $id) use ($login, $webauthn): string {
</div>';
} else {
$n['label'] = '<label for="' . $id . '">' . rex_i18n::msg('current_password') . '</label>';
$n['field'] = '<input class="form-control rex-js-userpsw" type="password" id="' . $id . '" name="userpsw" autocomplete="current-password" required />';
$n['field'] = '<input class="form-control rex-js-userpsw" type="password" id="' . $id . '" name="userpsw" autocomplete="current-password" autocorrect="off" autocapitalize="off" required />';
}

$formElements[] = $n;
Expand All @@ -310,13 +310,13 @@ $formElements = [];

$n = [];
$n['label'] = '<label for="rex-id-userpsw-new-1">' . rex_i18n::msg('new_password') . '</label>';
$n['field'] = '<input class="form-control rex-js-userpsw-new-1" type="password" id="rex-id-userpsw-new-1" name="userpsw_new_1" autocomplete="new-password" required ' . rex_string::buildAttributes($passwordPolicy->getHtmlAttributes()) . ' />';
$n['field'] = '<input class="form-control rex-js-userpsw-new-1" type="password" id="rex-id-userpsw-new-1" name="userpsw_new_1" autocomplete="new-password" autocorrect="off" autocapitalize="off" required ' . rex_string::buildAttributes($passwordPolicy->getHtmlAttributes()) . ' />';
$n['note'] = $passwordPolicy->getDescription();
$formElements[] = $n;

$n = [];
$n['label'] = '<label for="rex-id-userpsw-new-2">' . rex_i18n::msg('new_password_repeat') . '</label>';
$n['field'] = '<input class="form-control rex-js-userpsw-new-2" type="password" id="rex-id-userpsw-new-2" name="userpsw_new_2" autocomplete="new-password" required />';
$n['field'] = '<input class="form-control rex-js-userpsw-new-2" type="password" id="rex-id-userpsw-new-2" name="userpsw_new_2" autocomplete="new-password" autocorrect="off" autocapitalize="off" required />';
$formElements[] = $n;

$fragment = new rex_fragment();
Expand Down
4 changes: 2 additions & 2 deletions files/redaxo-main/redaxo/src/core/pages/setup.step5.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ $formElements = [];

$n = [];
$n['label'] = '<label for="rex-form-redaxo-user-login" class="required">' . rex_i18n::msg('setup_507') . '</label>';
$n['field'] = '<input class="form-control" type="text" value="' . rex_escape($redaxoUserLogin) . '" id="rex-form-redaxo-user-login" name="redaxo_user_login" autofocus />';
$n['field'] = '<input class="form-control" type="text" value="' . rex_escape($redaxoUserLogin) . '" id="rex-form-redaxo-user-login" name="redaxo_user_login" maxlength="255" inputmode="email" autocorrect="off" autocapitalize="off" autofocus />';
$formElements[] = $n;

$passwordPolicy = rex_backend_password_policy::factory();
$n = [];
$n['label'] = '<label for="rex-form-redaxo-user-pass" class="required">' . rex_i18n::msg('setup_508') . '</label>';
$n['field'] = '<input class="form-control" type="password" value="' . rex_escape($redaxoUserPass) . '" id="rex-form-redaxo-user-pass" name="redaxo_user_pass" autocomplete="new-password" ' . rex_string::buildAttributes($passwordPolicy->getHtmlAttributes()) . ' />';
$n['field'] = '<input class="form-control" type="password" value="' . rex_escape($redaxoUserPass) . '" id="rex-form-redaxo-user-pass" name="redaxo_user_pass" autocomplete="new-password" autocorrect="off" autocapitalize="off" ' . rex_string::buildAttributes($passwordPolicy->getHtmlAttributes()) . ' />';
$n['note'] = $passwordPolicy->getDescription();
$formElements[] = $n;

Expand Down

0 comments on commit 22a9ed5

Please sign in to comment.