Skip to content

Commit e6aab45

Browse files
committed
Replace express-brute with the better maintained express-rate-limit
1 parent 74e4829 commit e6aab45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/controllers/support-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ router.post("/get-hashed-email",
126126
})
127127
.then(success => {
128128
// Return hashed email to support
129-
var hashedEmail = Secure.hashEmail(email, EMAIL_SALT);
129+
var hashedEmail = Secure.hashSha512(email, EMAIL_SALT);
130130
response.status(200).json({
131131
hashedEmail: hashedEmail
132132
});

0 commit comments

Comments
 (0)