ita-social-projects / Home

Home - is an all-in-one social service that will cover all aspects of your communication with your home and neighbors.
http://www.home-project-engineering.tech/api/0/apidocs/index.html
MIT License
26 stars 31 forks source link

feature/issue#451 implement password recovery functionality #473

Closed vladyslavyarets closed 2 years ago

vladyslavyarets commented 2 years ago

dev

ZenHub

Summary of issue

Currently the project haven't functionality for password restoration. Implement this one.

Create endpoints for password restoration request (/reset-password/request). Required fields:

Create password restoration approval endpoint (/reset-password/approval). Requirements:

Create table password_recovery_tokens for store tokens in DB with next fields:

Implement functionality for sending approval email which contains token. Generated link should have user's email and token as a url's variable named email and token.

Other requirements:

Corner cases:

Summary of change

Testing approach

Not required

CHECK LIST

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

83.4% 83.4% Coverage
0.0% 0.0% Duplication

gendalf-fx commented 2 years ago

Nice 👍