Skip to content

Commit

Permalink
fixup! [IMP] Allow the administator to forbid passwords that contain …
Browse files Browse the repository at this point in the history
…the login.
  • Loading branch information
George Daramouskas committed Feb 6, 2019
1 parent 6bae4bf commit 1afcc8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions password_security/tests/test_res_users.py
Expand Up @@ -16,6 +16,7 @@ class TestResUsers(SavepointCase):
def setUp(cls):
super(TestResUsers, cls).setUp()
cls.main_comp = cls.env.ref('base.main_company')
cls.main_comp.password_no_login = True
# Modify users as privileged, but non-root user
cls.privileged_user = cls.env['res.users'].create({
'name': 'Privileged User',
Expand Down

0 comments on commit 1afcc8e

Please sign in to comment.