Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Remove deprecated login component and route
Browse files Browse the repository at this point in the history
  • Loading branch information
el-mapache committed Aug 11, 2017
1 parent c55c232 commit ebdfcd8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
18 changes: 0 additions & 18 deletions static_src/components/login.jsx

This file was deleted.

1 change: 0 additions & 1 deletion static_src/components/main_container.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Disclaimer from './disclaimer.jsx';
import Footer from './footer.jsx';
import GlobalErrorContainer from './global_error_container.jsx';
import Header from './header.jsx';
import Login from './login.jsx';
import LoginStore from '../stores/login_store.js';
import OrgStore from '../stores/org_store.js';
import SpaceStore from '../stores/space_store.js';
Expand Down
7 changes: 0 additions & 7 deletions static_src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import appActions from './actions/app_actions.js';
import cfApi from './util/cf_api.js';
import errorActions from './actions/error_actions';
import Loading from './components/loading.jsx';
import Login from './components/login.jsx';
import loginActions from './actions/login_actions';
import LoginStore from './stores/login_store';
import NotFound from './components/not_found.jsx';
Expand All @@ -25,11 +24,6 @@ import routerActions from './actions/router_actions.js';

const MAX_OVERVIEW_SPACES = 10;

export function login(next) {
routerActions.navigate(Login);
next();
}

export function overview(next) {
pageActions.load();

Expand Down Expand Up @@ -176,7 +170,6 @@ export function notFound(next) {
const routes = {
'/': overview,
'/dashboard': overview,
'/login': login,
'/org': {
'/:orgGuid': {
'/spaces': {
Expand Down

0 comments on commit ebdfcd8

Please sign in to comment.