Selaa lähdekoodia

:memo: Made note to hash/salt passwords

juan_spike
tomit4 3 vuotta sitten
vanhempi
commit
ab94eac84c
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      backend/lib/routes/profile/insert.js

+ 1
- 0
backend/lib/routes/profile/insert.js Näytä tiedosto

@@ -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) {

Loading…
Peruuta
Tallenna