corso-python-prato / share-system-team2

Apache License 2.0
2 stars 9 forks source link

No reset password control #71

Closed Roxana28 closed 10 years ago

Roxana28 commented 10 years ago

Found and fixed the following bugs on server:

  1. When a PUT request is made by an active user to recover its password, there's non control that checks the validity of the new password. So:
    • was created a new test, "test_put_active_user_weak_password" , which crashes and reveals this problem
    • was added a password control into the "put" method of class Users
  2. Notice that function "pick_rand_pw" (used to generate a random complex password for tests) sometimes gives invalid passwords and tests crash.
coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.05%) when pulling d360e26331fe0e5d52fa990fab4e17352030073d on Roxana28:no_reset_password_control into 946d9870d84639205eaa4c47591a4d693caeec82 on corso-python-prato:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.32%) when pulling 8d16e78736e0d6399f7ac1569579babea297978c on Roxana28:no_reset_password_control into 946d9870d84639205eaa4c47591a4d693caeec82 on corso-python-prato:master.