Skip to content

#166079643 - Update password validation#81

Open
kihuha wants to merge 3 commits intodevelopfrom
bg-fix-password-validation-166079643
Open

#166079643 - Update password validation#81
kihuha wants to merge 3 commits intodevelopfrom
bg-fix-password-validation-166079643

Conversation

@kihuha
Copy link
Contributor

@kihuha kihuha commented May 17, 2019

What does this PR do?

Improves password validation

Description of the task to be completed

Update the regex to include special characters in the password field

How should this be manually tested

  • Setup the following environmental variables in a .env file
DATABASE_URL=<database_url>
export DJANGO_SETTINGS_MODULE=authors.settings
export SECRET_KEY=<>
export FROM_EMAIL=<valid email>
export URL=<localhost>
export AH_HOST=<localhost>
export DOMAIN=<localhost>
  • Clone the repo and navigate to the root directory
  • Create a virtual environment by typing virtualenv venv and activate it
  • Install requirements by typing pip install -r dev-requirements.txt
  • Setup a database and define the DATABASE_URL in a .env file. Export the configuration variable
  • Run the tests by typing python manage.py test

Relevant PT stories

https://www.pivotaltracker.com/story/show/166079643

@kihuha kihuha changed the title #166079643 Update password validation #166079643 - Update password validation May 17, 2019
@kihuha kihuha temporarily deployed to ah-the-answer-backend-st-pr-81 May 17, 2019 13:28 Inactive
@kihuha kihuha force-pushed the bg-fix-password-validation-166079643 branch from 6742716 to 14f6fd8 Compare May 17, 2019 13:46
@kihuha kihuha temporarily deployed to ah-the-answer-backend-st-pr-81 May 17, 2019 13:46 Inactive
@kihuha kihuha force-pushed the bg-fix-password-validation-166079643 branch from 14f6fd8 to c110f19 Compare May 17, 2019 13:55
@kihuha kihuha temporarily deployed to ah-the-answer-backend-st-pr-81 May 17, 2019 13:55 Inactive
@kihuha kihuha force-pushed the bg-fix-password-validation-166079643 branch from c110f19 to 3aa9a7c Compare May 17, 2019 13:59
@kihuha kihuha temporarily deployed to ah-the-answer-backend-st-pr-81 May 17, 2019 14:00 Inactive
@Raywire Raywire temporarily deployed to ah-the-answer-backend-st-pr-81 May 22, 2019 12:49 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants