From a787ca62971370dd5d16b6ec8c593bc8640dc58f Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Mon, 5 Nov 2018 11:12:10 +0100 Subject: [PATCH] [fix] Keep wallet uid when calling wallet.auth() - fix #752 --- www/js/services/wallet-services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/services/wallet-services.js b/www/js/services/wallet-services.js index 8d11e714..ce29d15b 100644 --- a/www/js/services/wallet-services.js +++ b/www/js/services/wallet-services.js @@ -167,7 +167,7 @@ angular.module('cesium.wallet.services', ['ngApi', 'ngFileSaver', 'cesium.bma.se authData = res; data.pubkey = authData.pubkey; - data.uid = authData.uid || undefined; + data.uid = authData.uid || data.uid; data.isNew = options && angular.isDefined(options.isNew) ? options.isNew : data.isNew; if (keepAuth) { data.keypair = authData.keypair || { -- GitLab