remove dead code from /user/

pull/1/head
ansuz 8 years ago
parent 9b047bfb53
commit fe7ba98338

@ -18,8 +18,6 @@ define([
Crypto: Crypto, Crypto: Crypto,
}; };
var $warning = $('#warning');
// login elements // login elements
var $loginBox = $('#login-panel'); var $loginBox = $('#login-panel');
var $login = $('#login'); var $login = $('#login');
@ -27,7 +25,6 @@ define([
var $username = $('#username'); var $username = $('#username');
var $password = $('#password'); var $password = $('#password');
var $password_register = $('#confirm_register'); var $password_register = $('#confirm_register');
var $remember = $('#remember');
// hashing elements // hashing elements
var $noticeBox = $('#notice-panel'); var $noticeBox = $('#notice-panel');
@ -271,11 +268,6 @@ define([
var useBytes = function (bytes, opt) { var useBytes = function (bytes, opt) {
opt = 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); var dispense = Cred.dispenser(bytes);

Loading…
Cancel
Save