We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918056c commit 75e16fbCopy full SHA for 75e16fb
store/authentication.js
@@ -104,9 +104,10 @@ const mutations = {
104
}
105
};
106
const actions = {
107
+ //{ tenant: window.location.hostname.split('.')[0] }
108
async _authenticate_then_login({ commit }, payload) {
109
commit("SIGNIN");
- 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' } })
111
.then(response => {
112
if (response) {
113
commit("SIGNIN_SUCCESS", response);
0 commit comments