Rename Face to LoginPage.

This commit is contained in:
Yang Luo
2021-03-26 21:56:51 +08:00
parent 7fe9705303
commit 3d4c987d32
6 changed files with 17 additions and 17 deletions

View File

@ -33,7 +33,7 @@ import HomePage from "./basic/HomePage";
import CustomGithubCorner from "./CustomGithubCorner";
import * as Auth from "./auth/Auth";
import Face from "./auth/Face";
import LoginPage from "./auth/LoginPage";
import SelfLoginPage from "./auth/SelfLoginPage";
import * as AuthBackend from "./auth/AuthBackend";
import AuthCallback from "./auth/AuthCallback";
@ -334,7 +334,7 @@ class App extends Component {
if (this.isDoorPages()) {
return (
<Switch>
<Route exact path="/login/oauth/authorize" render={(props) => <Face type={"code"} {...props} />}/>
<Route exact path="/login/oauth/authorize" render={(props) => <LoginPage type={"code"} {...props} />}/>
</Switch>
)
}