the id of the loginUser whose passport we want to reset
the unique id to reset the passport of the login user
timestamp that shows until when the resetId is valid
the created/updated entry from the database in a promise
the id of the loginUser whose reset entry we want to delete
the deleted entry (or null if there was no entry) inside a promise
the resetId of the entry we want to delete
the deleted entry (or null if there was no entry) inside a promise
Generated using TypeDoc
creates a new entry for password reset if none exists yet. overwrites the info of the old reset entry if a reset entry already exists