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,8 +8,10 @@ Ember.Application.initializer({
|
||||||
|
|
||||||
initialize: function(container, application) {
|
initialize: function(container, application) {
|
||||||
application.set('settings', App.Settings.create());
|
application.set('settings', App.Settings.create());
|
||||||
|
if (App.get('settings.token') === undefined) {
|
||||||
App.set('settings.token', '');
|
App.set('settings.token', '');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
App.Router.map(function() {
|
App.Router.map(function() {
|
||||||
|
|
Loading…
Reference in New Issue