Project

General

Profile

Task #3465

Updated by Anucha Taowkaen about 2 months ago

**API:** https://burn-watch-api.aesystem.dev/openapi#tag/auth/POST/api/v1/user/forgot-password 

 **NOTE:** 
 1. ถ้า user ตอบผิด 3 ครั้งถูกแบน 15 นาที 

 **FLOW** 
 1. user click forgot password 
 2. type username or email 
 3. dropdown list securityQuestion from server 
 4. ยูเซอร์ เลือก 1 คำถามจากที่เขาเคยสร้างไว้ 
 5. type answer 
 6. if success 
    
 > 6.1 go to page new password 
    
 > 6.2 if new password success go to login page 
 7. if not success 
    7.1pop 
 > pop up err 
 8. if user answer total 3 fail => popup ban 15 min

Back