Ignore:
Timestamp:
9 Jan 2019, 11:47:37 (6 years ago)
Author:
Henrik Bettermann
Message:

Increase password strength. Officers are now required
to set a password which has at least 8 characters, contains
at least one uppercase letter, one lowercase letter and one
digit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/doctests/pages.txt

    r14648 r15286  
    167167  >>> browser.getControl(name="form.name").value = 'bob'
    168168  >>> browser.getControl(name="form.title").value = 'Bob The User'
    169   >>> browser.getControl(name="password").value = 'secret'
    170   >>> browser.getControl(name="control_password").value = 'secret'
    171169  >>> browser.getControl(name="form.email").value = 'xx@yy.zz'
    172170  >>> browser.getControl(name="form.phone.country").value = ['+234']
    173171  >>> browser.getControl(name="form.phone.area").value = '123'
    174172  >>> browser.getControl(name="form.phone.ext").value = '45678'
     173  >>> browser.getControl(name="password").value = 'secret'
     174  >>> browser.getControl(name="control_password").value = 'secret'
     175  >>> browser.getControl("Add officer").click()
     176  >>> print browser.contents
     177  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
     178  ...Passwords must be at least 8 characters long...
     179  >>> browser.getControl(name="password").value = 'TOP4secret'
     180  >>> browser.getControl(name="control_password").value = 'TOP4secret'
    175181  >>> browser.getControl("Add officer").click()
    176182  >>> print browser.contents
     
    205211  >>> browser.getControl(name="form.name").value = 'bob'
    206212  >>> browser.getControl(name="form.title").value = 'Bob The User'
    207   >>> browser.getControl(name="password").value = 'secret'
    208   >>> browser.getControl(name="control_password").value = 'secret'
     213  >>> browser.getControl(name="password").value = 'TOP4secret'
     214  >>> browser.getControl(name="control_password").value = 'TOP4secret'
    209215  >>> browser.getControl(name="form.email").value = 'xx@yy.zz'
    210216  >>> browser.getControl(name="form.phone.country").value = ['+234']
Note: See TracChangeset for help on using the changeset viewer.