Skip to content

Commit e8a16ef

Browse files
committed
should replace, auth flow shouldn’t be in history
1 parent f48a6aa commit e8a16ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/auth-flow/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var Login = React.createClass({
8383
return this.setState({ error: true });
8484

8585
if (nextPath) {
86-
this.transitionTo(nextPath);
86+
this.replaceWith(nextPath);
8787
} else {
8888
this.replaceWith('/about');
8989
}

0 commit comments

Comments
 (0)