fix(auth): Fix missing var. This is why we should go ES6!

This commit is contained in:
Ben Gotow 2016-04-11 10:48:13 -07:00
parent d9517101d5
commit 7183918ab2

View file

@ -319,7 +319,7 @@ class AccountSettingsPage extends React.Component
data.provider = @state.provider.name
# if there's an account with this email, get the ID for it to notify the backend of re-auth
account = AccountStore.accountForEmail(email)
account = AccountStore.accountForEmail(data.email)
reauthParam = if account then "&reauth=#{account.id}" else ""
# handle special case for exchange/outlook/hotmail username field