diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index defa42a..2f3b582 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -20,13 +20,17 @@ <%= f.label :registration_token, "Token" %> - <%= text_field_tag :registration_token, nil, placeholder: "abcdef", required: true, pattern: "[a-z]{6}", title: "6 character token", "x-moz-errormessage" => "6 character token" %>
- To get your token, join the Minecraft server (redstoner.com) and use the /token command. + + <%= text_field_tag :registration_token, nil, placeholder: "abcdef", required: true, pattern: "[a-z]{6}", title: "6 character token", "x-moz-errormessage" => "6 character token" %>
+ To get your token, join the Minecraft server (redstoner.com) and use the /token command. <%= f.label :password, "Password" %> - <%= f.password_field :password, placeholder: "secret", required: true, pattern: ".{8,}", title: "minimum 8 characters", "x-moz-errormessage" => "minimum 8 characters" %> + + <%= f.password_field :password, placeholder: "secret", required: true, pattern: ".{8,}", title: "minimum 8 characters", "x-moz-errormessage" => "minimum 8 characters" %>
+ Choose a strong password which you are not using anywhere else! + <%= f.label :password_confirmation, "Confirm" %>