mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Fix AuthCallback's code handling.
This commit is contained in:
@ -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>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user