user-accounts: Add strength indicator level for weak passwords
Add first level for short, or weak passwords to be obvious that the strength indicator signalize something. https://bugzilla.gnome.org/show_bug.cgi?id=780002
This commit is contained in:
parent
9e4123363e
commit
e89d4f59c2
5 changed files with 23 additions and 13 deletions
|
@ -335,11 +335,14 @@
|
|||
<object class="GtkLevelBar" id="local_strength_indicator">
|
||||
<property name="visible">True</property>
|
||||
<property name="mode">discrete</property>
|
||||
<property name="max-value">4</property>
|
||||
<property name="max-value">5</property>
|
||||
<property name="hexpand">True</property>
|
||||
<offsets>
|
||||
<offset name="low" value="1"/>
|
||||
<offset name="high" value="3"/>
|
||||
<offset name="strength-weak" value="1"/>
|
||||
<offset name="strength-low" value="2"/>
|
||||
<offset name="strength-medium" value="3"/>
|
||||
<offset name="strength-good" value="4"/>
|
||||
<offset name="strength-high" value="5"/>
|
||||
</offsets>
|
||||
</object>
|
||||
<packing>
|
||||
|
|
|
@ -187,10 +187,13 @@
|
|||
<object class="GtkLevelBar" id="strength-indicator">
|
||||
<property name="visible">True</property>
|
||||
<property name="mode">discrete</property>
|
||||
<property name="max-value">4</property>
|
||||
<property name="max-value">5</property>
|
||||
<offsets>
|
||||
<offset name="low" value="1"/>
|
||||
<offset name="high" value="3"/>
|
||||
<offset name="strength-weak" value="1"/>
|
||||
<offset name="strength-low" value="2"/>
|
||||
<offset name="strength-medium" value="3"/>
|
||||
<offset name="strength-good" value="4"/>
|
||||
<offset name="strength-high" value="5"/>
|
||||
</offsets>
|
||||
</object>
|
||||
<packing>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue