Bläddra i källkod

:memo: Made note to hash/salt passwords

juan_spike
tomit4 3 år sedan
förälder
incheckning
ab94eac84c
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      backend/lib/routes/profile/insert.js

+ 1
- 0
backend/lib/routes/profile/insert.js Visa fil

@@ -48,6 +48,7 @@ module.exports = {
48 48
             const res = request.payload
49 49
 
50 50
             try {
51
+                // TODO: Currently passwords are stored in plain text, big no no...
51 52
                 const insertedResponse = await profileService.insertSingleResponseForProfile(res)
52 53
 
53 54
                 if (!insertedResponse) {

Laddar…
Avbryt
Spara