Sha256: f156ad200d367a12e27c43f37dddd0bf2130d6aeb66f74803685b2829825494f
Contents?: true
Size: 645 Bytes
Versions: 162
Compression:
Stored size: 645 Bytes
Contents
By default, the minimum length is 12 and the strength meter will show a strength of 1 if not met. Notice the bar won't change from red until the minimum is met Use the `minLength` prop to adjust. The meter also response to `averageThreshold` and `strongTreshold` props. `averageThresold` defaults to 2, and `strongThreshold` defaults to 3. This means that the bar will turn yellow when the strength of the passphrase is calculated to be 2 on a 0-4 scale, and green when 3. Adjust these props to tune the sensitivity of the bar. Note: minimum length trumps strength and will set the bar to a red color, despite whatever strength is calculated.
Version data entries
162 entries across 162 versions & 1 rubygems