Adapted improved Password requirements (up to 32 instead of up to 16 characters)
This commit is contained in:
@@ -52,6 +52,9 @@ public class GuiRegister extends GuiScreen {
|
||||
passwordInput = new PasswordTextField(GuiConstants.REGISTER_PASSWORD_FIELD, fontRendererObj, this.width / 2 - 45, 90, 145, 20);
|
||||
passwordConfirmation = new PasswordTextField(GuiConstants.REGISTER_PASSWORD_CONFIRM_FIELD, fontRendererObj, this.width / 2 - 45, 120, 145, 20);
|
||||
|
||||
passwordInput.setMaxStringLength(32);
|
||||
passwordConfirmation.setMaxStringLength(32);
|
||||
|
||||
registerButton = new GuiButton(GuiConstants.REGISTER_OKAY_BUTTON, this.width / 2 - 150 - 2, 170, I18n.format("replaymod.gui.register"));
|
||||
registerButton.enabled = false;
|
||||
registerButton.width = 150;
|
||||
|
||||
@@ -28,6 +28,7 @@ replaymod.api.mcuserexists=A ReplayMod account is already associated with this M
|
||||
replaymod.api.filetoobig=The uploaded file is too big
|
||||
replaymod.api.usernametoolong=The username is too long
|
||||
replaymod.api.descriptiontoolong=The description is too long
|
||||
replaymod.api.passwordlength=The password has to be between 5 and 32 characters long
|
||||
|
||||
#All of the chat messages
|
||||
replaymod.chat.recordingstarted=Recording started
|
||||
|
||||
Reference in New Issue
Block a user