瀏覽代碼

:memo: Made note to hash/salt passwords

juan_spike
tomit4 3 年之前
父節點
當前提交
ab94eac84c
共有 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…
取消
儲存