Skip to content

Commit

Permalink
Fix [v10.4.0] Cannot read property 'get' of undefined. #658
Browse files Browse the repository at this point in the history
  • Loading branch information
glena committed Oct 20, 2016
1 parent 9427f23 commit 82ea15a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/connection/enterprise/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ function logInActiveFlow(id) {
: "email";

const username = getFieldValue(m, usernameField);
const connection = enterpriseActiveFlowConnection(m);

coreLogIn(id, ["password", usernameField], {
connection: enterpriseActiveFlowConnection(m).get("name"),
connection: connection ? connection.get("name") : null,
username: username,
password: getFieldValue(m, "password"),
login_hint: username
Expand Down

0 comments on commit 82ea15a

Please sign in to comment.