mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(auth): Fix missing var. This is why we should go ES6!
This commit is contained in:
parent
d9517101d5
commit
7183918ab2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue