Merge pull request #710 from hashicorp/f-ui-undefined

ui: Only set blank token if none set
This commit is contained in:
Armon Dadgar 2015-02-18 15:08:43 -08:00
commit af5daf0472
1 changed files with 3 additions and 1 deletions

View File

@ -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', '');
}
}
});