Procházet zdrojové kódy

:memo: Made note to hash/salt passwords

tags/0.0.3^2
tomit4 před 3 roky
rodič
revize
d02ec4df53
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1
    0
      backend/lib/routes/profile/insert.js

+ 1
- 0
backend/lib/routes/profile/insert.js Zobrazit soubor

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

Načítá se…
Zrušit
Uložit