From 39013bbe6ab132742abf4d9256fb21d0b2dab81b Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 18 Feb 2015 14:44:52 -0800 Subject: [PATCH] ui: Only set blank token if none set --- ui/javascripts/app/router.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/javascripts/app/router.js b/ui/javascripts/app/router.js index 77a4a8421b..515371148c 100644 --- a/ui/javascripts/app/router.js +++ b/ui/javascripts/app/router.js @@ -8,7 +8,9 @@ Ember.Application.initializer({ initialize: function(container, application) { application.set('settings', App.Settings.create()); - App.set('settings.token', ''); + if (App.get('settings.token') === undefined) { + App.set('settings.token', ''); + } } });