Skip to content

Commit

Permalink
[client-app] Always send a password, even if no identity is present
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Jul 25, 2017
1 parent a40a87d commit 2ea7c18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/client-app/src/flux/nylas-api-request.es6
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import request from 'request'
import {remote} from 'electron'

import Utils from './models/utils'
import Actions from './actions'
Expand Down Expand Up @@ -149,7 +148,7 @@ export default class NylasAPIRequest {

return {
user: accountToken,
pass: identity && identity.token,
pass: identity ? identity.token : 'noop',
sendImmediately: true,
};
} catch (error) {
Expand Down

0 comments on commit 2ea7c18

Please sign in to comment.