Преглед изворни кода

:memo: Made note to hash/salt passwords

tags/0.0.3^2
tomit4 пре 3 година
родитељ
комит
d02ec4df53
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      backend/lib/routes/profile/insert.js

+ 1
- 0
backend/lib/routes/profile/insert.js Прегледај датотеку

@@ -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…
Откажи
Сачувај