Skip to content

Commit

Permalink
chore(docs): add a missing instruction for installing the app
Browse files Browse the repository at this point in the history
  • Loading branch information
damien.rabois committed Jan 31, 2024
1 parent 82e9395 commit 0960b69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
### Miscellaneous Tasks

- Test password similarity
- Add a missing instruction for installing the app

## [0.0.4] - 2024-01-29

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This app provides configurable rotation of passwords.
* Visual warning to user using Django messages
* Prevents user from accessing any page in after expiration unless the password is changed
* Forces the new password to be different from previously used passwords
* Prevents similar passwords (ex: "password1", "password2", ...)

## Requirements
This Django app requires Python >= 3.6 and has been tested with Django 4.2.
Expand Down Expand Up @@ -39,6 +40,8 @@ This Django app requires Python >= 3.6 and has been tested with Django 4.2.
PASSWORD_ROTATE_WARN_SECONDS = 10 * 24 * 60 * 60
# keep at most the 3 previous (encrypted) passwords
PASSWORD_ROTATE_HISTORY_COUNT = 3
# when changing the password, allow only a new password with similarity ratio greater than 50
PASSWORD_ROTATE_MAX_SIMILARITY_RATIO = 50
```
7. Run `python manage.py migrate` to create the required database tables.

Expand Down

0 comments on commit 0960b69

Please sign in to comment.