Skip to content

Commit

Permalink
should replace, auth flow shouldn’t be in history
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Mar 11, 2015
1 parent f48a6aa commit e8a16ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/auth-flow/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var Login = React.createClass({
return this.setState({ error: true });

if (nextPath) {
this.transitionTo(nextPath);
this.replaceWith(nextPath);
} else {
this.replaceWith('/about');
}
Expand Down

0 comments on commit e8a16ef

Please sign in to comment.