Add frontend /login/oauth

This commit is contained in:
Yang Luo
2021-03-20 11:34:04 +08:00
parent 9980ef1975
commit 80c47dd8c6
6 changed files with 82 additions and 27 deletions

View File

@ -19,7 +19,7 @@ import {authConfig} from "./Auth";
class LoginPage extends React.Component {
render() {
return (
<Face applicationName={authConfig.appName} account={this.props.account} onLoggedIn={this.props.onLoggedIn.bind(this)} {...this.props} />
<Face type={"login"} applicationName={authConfig.appName} account={this.props.account} onLoggedIn={this.props.onLoggedIn.bind(this)} {...this.props} />
)
}
}