Skip to content

Commit fc9e645

Browse files
committed
chore: sonar
1 parent 424fe87 commit fc9e645

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: api/src/controllers/login.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ const serverUtils = require('../server-utils');
2121
const PASSWORD_RESET_URL = '/medic/password-reset';
2222

2323
const ERROR_KEY_MAPPING = {
24-
'password.weak': 'password-weak', //NoSONAR
25-
'password.length.minimum': 'password-short', //NoSONAR
26-
'password.current.incorrect': 'current-password-incorrect', //NoSONAR
27-
'password.same': 'password-same' //NoSonar
24+
'password.weak': 'password-weak',
25+
'password.length.minimum': 'password-short',
26+
'password.current.incorrect': 'current-password-incorrect',
27+
'password.same': 'password-same'
2828
};
2929

3030
const templates = {

0 commit comments

Comments
 (0)