mirror of https://github.com/status-im/consul.git
ui: Only set blank token if none set
This commit is contained in:
parent
b014d7f970
commit
39013bbe6a
|
@ -8,7 +8,9 @@ Ember.Application.initializer({
|
||||||
|
|
||||||
initialize: function(container, application) {
|
initialize: function(container, application) {
|
||||||
application.set('settings', App.Settings.create());
|
application.set('settings', App.Settings.create());
|
||||||
App.set('settings.token', '');
|
if (App.get('settings.token') === undefined) {
|
||||||
|
App.set('settings.token', '');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue