ecinc-cloud-mappaio 9.7.11 → 9.7.12
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/lib/ecmappaio.common.js
CHANGED
|
@@ -1042,7 +1042,9 @@ var actions = {
|
|
|
1042
1042
|
loginUser = _context3.sent;
|
|
1043
1043
|
commit('SET_TOKEN', window.$auth.getToken());
|
|
1044
1044
|
commit('SET_LOGIN_USER', loginUser);
|
|
1045
|
-
|
|
1045
|
+
if (inJwtToken) {
|
|
1046
|
+
window.$auth.removeTicket();
|
|
1047
|
+
}
|
|
1046
1048
|
window.$user.findUserRolePermissions(jwtToken).then(function (response) {
|
|
1047
1049
|
if (response.code === 'success') {
|
|
1048
1050
|
var data = response.body;
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -1052,7 +1052,9 @@ var actions = {
|
|
|
1052
1052
|
loginUser = _context3.sent;
|
|
1053
1053
|
commit('SET_TOKEN', window.$auth.getToken());
|
|
1054
1054
|
commit('SET_LOGIN_USER', loginUser);
|
|
1055
|
-
|
|
1055
|
+
if (inJwtToken) {
|
|
1056
|
+
window.$auth.removeTicket();
|
|
1057
|
+
}
|
|
1056
1058
|
window.$user.findUserRolePermissions(jwtToken).then(function (response) {
|
|
1057
1059
|
if (response.code === 'success') {
|
|
1058
1060
|
var data = response.body;
|