Skip to content

Commit

Permalink
Merge pull request #10 from aceperry/master
Browse files Browse the repository at this point in the history
Get rid of login dialog after user has been authenticated
  • Loading branch information
bkilrain authored Nov 4, 2018
2 parents b507a46 + 967b0cd commit 3f6142b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class Login extends Component {
console.error("Expected user to have a faunadb_token, check logs for the identity-signup.js function.")
console.log(this.state.user)
}
// Close the modal, get rid of the dialog automatically after log-in accepted
netlifyIdentity.close();
}

didLogout() {
Expand Down

0 comments on commit 3f6142b

Please sign in to comment.