fix(self-hosting): Set identity correctly

This commit is contained in:
Jackie Luo 2016-07-21 15:46:37 -07:00
parent 6a628102ba
commit 49fd61d347

View file

@ -60,7 +60,6 @@ class SelfHostingConfigPage extends React.Component {
NylasEnv.config.set('syncEngine.APIRoot', `http://${this.state.url}:${this.state.port}`)
Actions.setNylasIdentity({
token: "SELFHOSTEDSYNCENGINE",
identity: {
firstname: "",
lastname: "",
valid_until: null,
@ -68,7 +67,6 @@ class SelfHostingConfigPage extends React.Component {
email: "",
id: 1,
seen_welcome_page: true,
},
})
this._addAccountJSON()
}