arrow_back Back to Tickets

Ticket #c21485

completed

Problem

Save the password token that is generated into mongoDB for the user.

Priority

2

Project Name

zfrika

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?

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

Ticket Information

Ticket ID: 690e2fb0437ec12426c21485
Date Initiated: 8/14/2025, 11:42:00 PM
Date Resolved: 11/8/2025, 4:15:00 AM
Status: completed
Created: 11/7/2025, 9:43:12 AM
Last Updated: 11/7/2025, 8:15:37 PM