Fiddled with jsonwebtoken and bcrypt library of npm. Basically, created a small application to store password in an encrypted format in mongoDB using mongo's pre method. Similarly, made use of mongoose's schema.methods to define a new function and generate jwt token
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)