feat: add go back to site button (#2538)

This commit is contained in:
Patryk Niedźwiedziński
2019-10-28 20:20:41 +01:00
committed by Shawn Erquhart
parent ab5860f58e
commit f206e7e5a1
8 changed files with 44 additions and 2 deletions

View File

@ -157,6 +157,7 @@ export default class GitGatewayAuthenticationPage extends React.Component {
return (
<AuthenticationPage
logoUrl={config.get('logo_url')}
siteUrl={config.get('site_url')}
renderPageContent={() => (
<AuthForm onSubmit={this.handleLogin}>
{!error ? null : <ErrorMessage>{error}</ErrorMessage>}