diff --git a/js/models/Identity.js b/js/models/Identity.js index 281ae9202..7d9b32c2d 100644 --- a/js/models/Identity.js +++ b/js/models/Identity.js @@ -125,7 +125,7 @@ Identity.open = function(opts, cb) { var storage = opts.storage || opts.pluginManager.get('DB'); storage.setCredentials(opts.email, opts.password, opts); - storage.getItem(Identity.getKeyForEmail(opts.email), function(err, data) { + storage.getItem(Identity.getKeyForEmail(opts.email), function(err, data, headers) { var exported; if (err) { return cb(err); @@ -135,7 +135,7 @@ Identity.open = function(opts, cb) { } catch (e) { return cb(e); } - return cb(null, new Identity(_.extend(opts, exported))); + return cb(null, new Identity(_.extend(opts, exported)), headers); }); }; diff --git a/views/profile.html b/views/profile.html index 105687d1d..54ac59ef3 100644 --- a/views/profile.html +++ b/views/profile.html @@ -97,10 +97,10 @@
-

Your current Insight server usage quotas are: {{perItem}}kB per walelt and up to {{nrWallets}} wallets. + Your current server usage quotas are: {{perItem}}kB per wallet and up to {{nrWallets}} wallets.

-
-

Confirming for email with increase your storage usage limits. +

+ Confirm your email address to increase storage usage limits.