diff --git a/src/services/utils.js b/src/services/utils.js index 517d65ef95..67cd328812 100644 --- a/src/services/utils.js +++ b/src/services/utils.js @@ -63,6 +63,8 @@ function isElectron() { } function hash(text) { + text = text.normalize(); + return crypto.createHash('sha1').update(text).digest('base64'); }