Fix undefined settings when creating a new account

pull/1/head
yflory 6 years ago
parent 34cc90bd08
commit 42055c32b5

@ -1426,6 +1426,7 @@ define([
if (!store.loggedIn) { return void cb(); } if (!store.loggedIn) { return void cb(); }
Store.pinPads(null, data, cb); Store.pinPads(null, data, cb);
}; };
if (!proxy.settings) { proxy.settings = {}; }
var manager = store.manager = ProxyManager.create(proxy.drive, { var manager = store.manager = ProxyManager.create(proxy.drive, {
edPublic: proxy.edPublic, edPublic: proxy.edPublic,
pin: pin, pin: pin,

Loading…
Cancel
Save