Przeglądaj źródła

:memo: Made note to hash/salt passwords

tags/0.0.3^2
tomit4 3 lat temu
rodzic
commit
d02ec4df53
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      backend/lib/routes/profile/insert.js

+ 1
- 0
backend/lib/routes/profile/insert.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz