From 0a41f2448a6c033c0843d6130c3f86cd7e53c72a Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 27 Apr 2020 10:03:57 -0300 Subject: [PATCH] Save last auth --- app/utils/localAuthentication.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/utils/localAuthentication.js b/app/utils/localAuthentication.js index 78a1a3149..7f1ebca15 100644 --- a/app/utils/localAuthentication.js +++ b/app/utils/localAuthentication.js @@ -80,11 +80,11 @@ export const localAuthenticate = async(server) => { } else { await localPasscode(); } - - // - await resetAttempts(); - await saveLastLocalAuthenticationSession(server, serverRecord); } + + // + await resetAttempts(); + await saveLastLocalAuthenticationSession(server, serverRecord); } };