feat: allow custom logo on auth page (#1818)
This commit is contained in:
committed by
Shawn Erquhart
parent
ede1bad97c
commit
c6ae1e8fc0
@ -44,12 +44,13 @@ export default class GitHubAuthenticationPage extends React.Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
const { inProgress } = this.props;
|
||||
const { inProgress, config } = this.props;
|
||||
return (
|
||||
<AuthenticationPage
|
||||
onLogin={this.handleLogin}
|
||||
loginDisabled={inProgress}
|
||||
loginErrorMessage={this.state.loginError}
|
||||
logoUrl={config.get('logo_url')}
|
||||
renderButtonContent={() => (
|
||||
<React.Fragment>
|
||||
<LoginButtonIcon type="github" /> {inProgress ? 'Logging in...' : 'Login with GitHub'}
|
||||
|
Reference in New Issue
Block a user