From fe7ba9833830dbd39d90e3dff7d677eec996dc7b Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 7 Feb 2017 17:50:02 +0100 Subject: [PATCH] remove dead code from /user/ --- www/user/main.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/www/user/main.js b/www/user/main.js index c1da83fe2..d9f3e2410 100644 --- a/www/user/main.js +++ b/www/user/main.js @@ -18,8 +18,6 @@ define([ Crypto: Crypto, }; - var $warning = $('#warning'); - // login elements var $loginBox = $('#login-panel'); var $login = $('#login'); @@ -27,7 +25,6 @@ define([ var $username = $('#username'); var $password = $('#password'); var $password_register = $('#confirm_register'); - var $remember = $('#remember'); // hashing elements var $noticeBox = $('#notice-panel'); @@ -271,11 +268,6 @@ define([ var useBytes = function (bytes, opt) { opt = opt || {}; - if (opt.remember) { - console.log("user would like to stay logged in"); - } else { - console.log("user would like to be forgotten"); - } var dispense = Cred.dispenser(bytes);