Skip to content

Commit 75e16fb

Browse files
committed
Update endpoint
1 parent 918056c commit 75e16fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

store/authentication.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ const mutations = {
104104
}
105105
};
106106
const actions = {
107+
//{ tenant: window.location.hostname.split('.')[0] }
107108
async _authenticate_then_login({ commit }, payload) {
108109
commit("SIGNIN");
109-
await this.$authapi.$post(`auth/signin`, payload, { params: { tenant: window.location.hostname.split('.')[0] } })
110+
await this.$authapi.$post(`auth/signin`, payload, { params: { tenant: 'default' } })
110111
.then(response => {
111112
if (response) {
112113
commit("SIGNIN_SUCCESS", response);

0 commit comments

Comments
 (0)