mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #2122 from matiu/bug/headers
WIP: fix headers handling
This commit is contained in:
commit
a7cdb727ef
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -97,10 +97,10 @@
|
|||
|
||||
<div class="size-12">
|
||||
<div ng-if="perItem">
|
||||
<p> Your current Insight server usage quotas are: {{perItem}}kB per walelt and up to {{nrWallets}} wallets.
|
||||
Your current server usage quotas are: <b>{{perItem}}kB</b> per wallet and up to <b>{{nrWallets}}</b> wallets.
|
||||
</div>
|
||||
<div ng-if="$root.needsEmailConfirmation">
|
||||
<p> <i class="fi-alert"></i> Confirming for email with increase your storage usage limits.
|
||||
<div ng-if="$root.needsEmailConfirmation" class="m10t">
|
||||
<i class="fi-alert"></i> Confirm your email address to increase storage usage limits.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue