feat: passwords need 8 characters or more, on the Site and in the Kanban
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 3m28s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m2s
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 3m28s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m2s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,11 @@ def run():
|
||||
assert seller.call('/operator/me')['can'] == ['view']
|
||||
# Their own password: the current one is asked for.
|
||||
seller.call('/operator/me/password', {'current': 'errada', 'new': 'outra-senha-de-teste'}, expected=403)
|
||||
seller.call('/operator/me/password', {'current': PASSWORD, 'new': 'outra-senha-de-teste'})
|
||||
# Eight characters or more.
|
||||
seller.call('/operator/me/password', {'current': PASSWORD, 'new': 'sete-77'}, expected=422)
|
||||
seller.call('/operator/me/password', {'current': PASSWORD, 'new': 'oito-888'})
|
||||
seller = signed_in(emails['vendedor'], 'oito-888')
|
||||
seller.call('/operator/me/password', {'current': 'oito-888', 'new': 'outra-senha-de-teste'})
|
||||
signed_in(emails['vendedor'], 'outra-senha-de-teste').call('/operator/me')
|
||||
|
||||
# Disabled, the operator is out at once; deleted, the account is gone.
|
||||
|
||||
Reference in New Issue
Block a user