diff --git a/src/services/utils.js b/src/services/utils.js index 517d65ef9..67cd32881 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'); }