Sha256: 95dc6cf901185cd044ff97d38eda9cce0169cdb7deb62cfa52f0a24d5093de84

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

import React, {Component} from 'react';

import './logout.less';

export class Logout extends Component {
    componentDidMount() {
        this.context.flux.actions.getRManager().logout();
    }

    render() {
        return (
          <div className="container-fluid b-logout">
            <div className="row b-logout--row">
              <div className="col-md-12">
                <div className="error-template">
                  <h1>
                    Goodbye!
                  </h1>
                  <h2>
                    See you next time
                  </h2>
                  <div className="error-details">
                    You have logged out from the Conjur. Feel free go to the login screen and signin again.
                  </div>
                  <div className="b-logout--actions">
                    <a href="/ui" className="btn btn-primary btn-lg">
                      <span className="glyphicon glyphicon-console"></span> Take me to the login screen again
                    </a>
                  </div>
                </div>
              </div>
            </div>
          </div>
        );
    }
}

Logout.displayName = 'AuthLogout';

Logout.contextTypes = {
    flux: React.PropTypes.object
};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conjur-asset-ui-1.6.0 app/src/components/auth/logout.js