From 37fdb058a32f2c5229554f698523e63951c363c5 Mon Sep 17 00:00:00 2001 From: Vijayee Kulkaa Date: Mon, 20 Feb 2017 13:12:38 -0500 Subject: [PATCH] Review Changes: Modal Close Behavior | Removal of Password Storage | Debounce Name Check --- frontend/simple/js/database.js | 14 +------------- frontend/simple/views/NavBar.vue | 22 ++++++++-------------- frontend/simple/views/SignUp.vue | 13 ++++++------- test/frontend.js | 14 +++++++------- 4 files changed, 22 insertions(+), 41 deletions(-) diff --git a/frontend/simple/js/database.js b/frontend/simple/js/database.js index ed2df47341..e5750e1545 100644 --- a/frontend/simple/js/database.js +++ b/frontend/simple/js/database.js @@ -81,16 +81,4 @@ export function saveSettings (state: Object): Promise<*> { export function loadSettings (): Promise { return appSettings.getItem('testUser') } -// ======================= -// Store login information -// ======================= -const loginInfo = localforage.createInstance({ - name: 'Group Income', - storeName: 'Login Information' -}) -export function storeLogin (identity: string, hash: string): Promise { - return loginInfo.setItem(identity, hash) -} -export function retrieveLogin (identity: string): Promise { - return loginInfo.getItem(identity) -} + diff --git a/frontend/simple/views/NavBar.vue b/frontend/simple/views/NavBar.vue index 30e26f77d5..ba71c199c4 100644 --- a/frontend/simple/views/NavBar.vue +++ b/frontend/simple/views/NavBar.vue @@ -51,7 +51,7 @@