Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Remove Authentication component. #108

Merged
merged 3 commits into from
Dec 18, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove login api.
  • Loading branch information
T4rk1n committed Dec 17, 2018
commit 108462281daf5df94a8d384c6b9996ca6a3b35ea
6 changes: 0 additions & 6 deletions src/actions/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ export function getDependencies() {
return apiThunk('_dash-dependencies', 'GET', 'dependenciesRequest');
}

export function login(oauth_token) {
return apiThunk('_dash-login', 'POST', 'loginRequest', '', '', {
Authorization: `Bearer ${oauth_token}`,
});
}

export function getReloadHash() {
return apiThunk('_reload-hash', 'GET', 'reloadRequest');
}
1 change: 0 additions & 1 deletion src/reducers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ function createApiReducer(store) {

export const dependenciesRequest = createApiReducer('dependenciesRequest');
export const layoutRequest = createApiReducer('layoutRequest');
export const loginRequest = createApiReducer('loginRequest');
export const reloadRequest = createApiReducer('reloadRequest');
1 change: 0 additions & 1 deletion src/reducers/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const reducer = combineReducers({
config,
dependenciesRequest: API.dependenciesRequest,
layoutRequest: API.layoutRequest,
loginRequest: API.loginRequest,
reloadRequest: API.reloadRequest,
history,
});
Expand Down