Ignore:
Timestamp:
9 Jan 2019, 21:17:08 (6 years ago)
Author:
Henrik Bettermann
Message:

Stored insecure passwords are no longer accepted.
Officers with an insecure password can't login and are
redirected to the ChangePasswordRequestPage to request a
new password.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r14949 r15287  
    5151from waeup.kofa.mandates.mandate import RefereeReportMandate
    5252from waeup.kofa.tests.test_async import FunctionalAsyncTestCase
     53from waeup.kofa.tests.test_authentication import SECRET
    5354
    5455PH_LEN = 15911  # Length of placeholder file
     
    539540    def init_officer(self):
    540541        # Create application officer
    541         self.app['users'].addUser('mrappl', 'mrapplsecret')
     542        self.app['users'].addUser('mrappl', SECRET)
    542543        self.app['users']['mrappl'].email = 'mrappl@foo.ng'
    543544        self.app['users']['mrappl'].title = 'Carlo Pitter'
     
    547548        self.browser.open(self.login_path)
    548549        self.browser.getControl(name="form.login").value = 'mrappl'
    549         self.browser.getControl(name="form.password").value = 'mrapplsecret'
     550        self.browser.getControl(name="form.password").value = SECRET
    550551        self.browser.getControl("Login").click()
    551552
Note: See TracChangeset for help on using the changeset viewer.