Fix AuthCallback's code handling.

This commit is contained in:
Yang Luo
2021-03-21 00:38:00 +08:00
parent 8b921b2c1e
commit 7f367ae346
4 changed files with 38 additions and 7 deletions

View File

@ -334,7 +334,7 @@ class App extends Component {
if (this.isDoorPages()) {
return (
<Switch>
<Route exact path="/login/oauth/authorize" render={(props) => this.renderLoginIfNotLoggedIn(<Face type={"code"} {...props} />)}/>
<Route exact path="/login/oauth/authorize" render={(props) => <Face type={"code"} {...props} />}/>
</Switch>
)
}