From fc9e6450c6e7f65386074b072eb1123c9888db0c Mon Sep 17 00:00:00 2001 From: Ben Kiarie Date: Thu, 28 Nov 2024 09:47:28 +0300 Subject: [PATCH] chore: sonar --- api/src/controllers/login.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/controllers/login.js b/api/src/controllers/login.js index 53ccc5f12b..071398d26c 100644 --- a/api/src/controllers/login.js +++ b/api/src/controllers/login.js @@ -21,10 +21,10 @@ const serverUtils = require('../server-utils'); const PASSWORD_RESET_URL = '/medic/password-reset'; const ERROR_KEY_MAPPING = { - 'password.weak': 'password-weak', //NoSONAR - 'password.length.minimum': 'password-short', //NoSONAR - 'password.current.incorrect': 'current-password-incorrect', //NoSONAR - 'password.same': 'password-same' //NoSonar + 'password.weak': 'password-weak', + 'password.length.minimum': 'password-short', + 'password.current.incorrect': 'current-password-incorrect', + 'password.same': 'password-same' }; const templates = {