Table of Contents |
---|
Purpose
...
Must be controlled by regular expression: (?=.*?[a-zа-яёїієґ])(?=.*?[A-ZА-ЯЁЇIЄҐ])(?=.*?[0-9])(?=.*?[^a-zA-Z]).{8,}
In case of error - return 422 error (message: "Password doest not meet complexity requirements")
...
Destination | Source | Description |
---|---|---|
id | Autogenerated | |
user_id | $.user_id | Extract user from token |
password | $.decrypted_hash | |
inserted_at | Timestamp: now() | Get current date-time |
3. Not allow to use recently used passwords
...