Redirecting to /, instead of /login, on the successfully logged out page (#26999) (#27065)

We're using the successfully logged out page with the SAML provider
currently, so redirecting to the /login page is problematic since they
won't be able to login using this url. Instead, we're redirecting them
to '/' so that the auth providers can figure out what to do.
This commit is contained in:
Brandon Kobel 2018-12-12 12:56:25 -08:00 committed by GitHub
parent 6211eb2b1c
commit cc0cdc61d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ export class LoggedOutPage extends Component<Props, {}> {
</div>
</header>
<div className="loggedOut__content eui-textCenter">
<EuiButton href={this.props.addBasePath('/login')}>
<EuiButton href={this.props.addBasePath('/')}>
<FormattedMessage id="xpack.security.loggedOut.login" defaultMessage="Login" />
</EuiButton>
</div>