Fix automatic logout on failure
This commit is contained in:
parent
0074f318fd
commit
38815389bc
|
@ -1,5 +1,6 @@
|
||||||
import { GiteaUnauthorizedError } from "../../util/gitea";
|
import { GiteaUnauthorizedError } from "../../util/gitea";
|
||||||
import { put } from 'redux-saga/effects';
|
import { put } from 'redux-saga/effects';
|
||||||
|
import { logout } from '../actions/logout';
|
||||||
|
|
||||||
export function* failuresSaga(action) {
|
export function* failuresSaga(action) {
|
||||||
const err = action.error;
|
const err = action.error;
|
||||||
|
|
Loading…
Reference in New Issue