From 2e4a22ce030b03499f5d41c1fad3e450cc4738e6 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Mon, 15 Apr 2019 16:35:21 +0200 Subject: [PATCH] Fix Android App crashes on sign in Fixes: https://github.com/lesspass/lesspass/issues/416 --- mobile/src/auth/authActions.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/mobile/src/auth/authActions.js b/mobile/src/auth/authActions.js index 60f39c5..1d8895e 100644 --- a/mobile/src/auth/authActions.js +++ b/mobile/src/auth/authActions.js @@ -28,14 +28,12 @@ function getEncryptedCredentials(credentials) { return generatePassword(credentials.password, { site: "lesspass.com", login: credentials.email, - options: { - lowercase: true, - uppercase: true, - digits: true, - symbols: true, - length: 16, - counter: 1 - } + lowercase: true, + uppercase: true, + digits: true, + symbols: true, + length: 16, + counter: 1 }).then(encryptedPassword => ({ email: credentials.email, password: encryptedPassword