summaryrefslogtreecommitdiff
path: root/src/store/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/api.js')
-rw-r--r--src/store/api.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/store/api.js b/src/store/api.js
index 39a6355c..c50bcbee 100644
--- a/src/store/api.js
+++ b/src/store/api.js
@@ -1,6 +1,8 @@
import Axios from "axios";
-const api = Axios.create();
+const api = Axios.create({
+ withCredentials: true
+});
// TODO: Permanent authentication solution
// Using defaults to set auth for sending