ui: Only set blank token if none set

This commit is contained in:
Armon Dadgar 2015-02-18 14:44:52 -08:00
parent b014d7f970
commit 39013bbe6a
1 changed files with 3 additions and 1 deletions

View File

@ -8,8 +8,10 @@ Ember.Application.initializer({
initialize: function(container, application) {
application.set('settings', App.Settings.create());
if (App.get('settings.token') === undefined) {
App.set('settings.token', '');
}
}
});
App.Router.map(function() {