knighty / fimfiction-issues

Fimfiction Issue Tracker
27 stars 1 forks source link

Changing password doesn't accept password with a length of 128 #380

Open dyedquartz opened 4 years ago

dyedquartz commented 4 years ago
  1. Generate random 128 length password with letters, numbers, symbols image

  2. Paste in New and Repeat password image

  3. Says it doesn't match

if you can't accept passwords that long, maybe make the password requirements more clear?

SomewhatDamaged commented 4 years ago

From the code:

<input class="password" type="password" name="new_password" value="" pattern=".{8,72}" maxlength="72" autocomplete="new-password" required="" data-input="update" data-password="" style="transition: none 0s ease 0s !important; box-shadow: initial !important; cursor: auto; background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABm0lEQVQ4jaWQPUsjURiFXyvRwmIrvZkoLhLEIUEQYQUXC9c7EzVGhJCVuATCquN9M8oS2CqtjU0a/4KFGBT8qPQnOJ2dHykCYyFsY2fQY5GdYTAGBj1wiss95+Hw0tjaWreQxTshGZ6Hk+vH9zxytp+fahzkpxquip/HDOskmBEG177k7B4asu1OIfkx+HmYn3y53khAkwqaVLixEjjKf38JZiIG/xuy7U4iItJMe9f7mJgrwFU6XKWj/DOFcnbef0/MFXyAJnmHPH2d5pgwis9CMlLpnF9461R65T+g2BicLQ1QUJEZ+1RIRsy0ULPiLeWaFUfMXIeQjD7JB/RW/ZJnvHkqs4R6oFxXOlRmyZ/f/0NNtgCIqEMYfOWFFtPLcJWOWyuBpD+dIaR9+V6ZiIj6kmrVC47O/oardFwUvmHA2Ahcf/NXW4CW+dMlTH4QkhFWLZBokrd9gOMARE1XKiEBC39FRPITAKBabVtsCyAiEkZxDwBQKgHRaHNBtRoe0GtujfsJx2k6mw0PICIC0Cx9ChA8ouN8ABBCr+P7+4ie4JcLAAAAAElFTkSuQmCC&quot;) !important; background-repeat: no-repeat !important; background-attachment: scroll !important; background-size: 16px 16px !important; background-position: calc(100% - 4px) 50% !important;">

It looks like the password must be shorter than 72 characters, but only on the first field. So use a max length 71 character password.