Autolab icon indicating copy to clipboard operation
Autolab copied to clipboard

User Sign-Up Password Length Warning

Open madhathacker opened this issue 4 years ago • 1 comments

Your environment Let us know details such as

  • Self-hosted Autolab instance
  • Ubuntu 20.04 image

Steps To Reproduce Steps to reproduce the behavior:

  1. Go to https://autolab.0x00.host/auth/users/sign_up
  2. Type in user details and a password less than 8 characters
  3. See BIG error

Current behavior Big warning message only after attempt.

image image

Expected behavior Should warn before, and smaller warning after.

image image

madhathacker avatar Mar 04 '21 21:03 madhathacker

Could probably be done with a mixture of help-blocks, pattern attribute (e.g. .{8,}), and using the hashes to display corresponding errors for each field.

damianhxy avatar May 23 '22 18:05 damianhxy