login working on the UX

This commit is contained in:
Matias Alejo Garcia 2014-10-01 08:35:17 -03:00
commit 92f1bacf82
10 changed files with 125 additions and 72 deletions

View file

@ -89,7 +89,7 @@ Storage.prototype._read = function(k, cb) {
var self = this;
this.db.getItem(k, function(ret) {
if (!ret) return cb(null);
var ret = self._decrypt(ret);
ret = self._decrypt(ret);
if (!ret) return cb(null);
ret = ret.toString(CryptoJS.enc.Utf8);