mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Stricten password validation to match PCI DSS requirements (#4467)
* Stricten password validation to match PCI DSS requirements * Review fix * Fix a file header
This commit is contained in:
@@ -349,8 +349,8 @@ def test_invite_new_user(event, admin_team, client):
|
||||
assert b'<form' in resp.content
|
||||
resp = client.post('/control/invite/{}'.format(i.token), {
|
||||
'email': 'dummy@example.org',
|
||||
'password': 'asdsdgfgjh',
|
||||
'password_repeat': 'asdsdgfgjh'
|
||||
'password': 'asdsdgfgjh1234567',
|
||||
'password_repeat': 'asdsdgfgjh1234567'
|
||||
}, follow=True)
|
||||
|
||||
assert b'alert-success' in resp.content
|
||||
|
||||
Reference in New Issue
Block a user