arrow_back
Back to Tickets
Edit Trouble Ticket
Update the ticket information below
Date Initiated
*
Status
*
Open
Pending
Completed
Terminated
Creator
*
Priority
*
2
Urgent
Select urgency...
Urgent
Not Urgent
Important
Select importance...
Important
Not Important
Project Name
*
zfrika
Problem
*
Save the password token that is generated into mongoDB for the user.
Question
Is there a field in the schema to save a token? confirmationToken: String, What thefield in schema to get the time stamp of when the token was generated? confirmationExpires: Date Where are schema located in the scripts? /app2/models/user.xx What the name of the database in mongoDB? DBnamekenya1.users Does the field exist in mongodb? How does signup save the password and user name to mongodb? Does the signup code use the token to confirm the user? No but signup shows the token and expiration date being saved successfully to the database. Signup should also require a email confirmation that user confirm that they are not creating a bogus email. What steps can I use from signup and login that I can use in lost password or reset password?
Root Cause
Notes
Strategy
Helpful People
Helpful Links
Diagram
Previous Steps
Next Steps
Feed the token info to the database. Study the code in route: /playgrounds/app2/signup”, as. A guide on how to add the token information to the existing user. *** using sublime tool to write new code.
Solution
looks completed
Insight
Date Resolved
save
Update Ticket
Cancel