@tapni/auth 0.0.73 → 0.0.74
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/package.json
CHANGED
package/src/mixins/auth.mixin.js
CHANGED
|
@@ -510,12 +510,13 @@ export default {
|
|
|
510
510
|
|
|
511
511
|
this.$storage.refreshTokens = refreshTokens.join(",");
|
|
512
512
|
|
|
513
|
+
EventBus.$emit("setStorage", this.$storage);
|
|
513
514
|
EventBus.$emit("ssoEvent", { name: "setRefreshToken", data: token });
|
|
514
515
|
},
|
|
515
516
|
setToken(token) {
|
|
516
517
|
this.$storage.token = token;
|
|
517
518
|
this.token = token;
|
|
518
|
-
EventBus.$emit("
|
|
519
|
+
EventBus.$emit("setStorage", this.$storage);
|
|
519
520
|
},
|
|
520
521
|
setUserID(userID) {
|
|
521
522
|
this.$storage.UserId = userID;
|