@tapni/auth 0.0.138 → 0.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +6 -6
- package/dist/{Account-Ocsxz63S.js → Account-kxvHgzkv.js} +1 -1
- package/dist/{QR-1ZiBgDXA.js → QR-WTnB1gtM.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +8 -8
- package/dist/{install-Hkqbhy74.js → install-VeiW4Fxi.js} +377 -377
- package/package.json +1 -1
- package/src/store/auth.js +2 -0
package/package.json
CHANGED
package/src/store/auth.js
CHANGED
|
@@ -336,6 +336,7 @@ export default {
|
|
|
336
336
|
location.reload();
|
|
337
337
|
}, 1500);
|
|
338
338
|
}
|
|
339
|
+
router.push("/" + response.data.data.username + "#edit");
|
|
339
340
|
}
|
|
340
341
|
},
|
|
341
342
|
async register({ commit, dispatch }, data) {
|
|
@@ -482,6 +483,7 @@ export default {
|
|
|
482
483
|
},
|
|
483
484
|
setLoggedInAccounts({ commit }, accounts) {
|
|
484
485
|
commit('setLoggedInAccounts', accounts);
|
|
486
|
+
EventBus.$emit("ssoEvent", { name: "setLoggedInAccounts", data: accounts });
|
|
485
487
|
},
|
|
486
488
|
setLoggedInUserId({ commit }, id) {
|
|
487
489
|
commit('setLoggedInUserId', id);
|