@tapni/auth 0.0.157 → 0.0.162
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-XsXHrL3D.js → Account-5TJRQFEr.js} +1 -1
- package/dist/{QR-p4J-6CqC.js → QR-KFsWzDOM.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +3 -3
- package/dist/{install-NY1gNe9_.js → install-jaYUL0cU.js} +6 -5
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/mixins/auth.mixin.js +1 -0
- package/src/mixins/global.mixin.js +1 -1
- package/src/store/auth.js +1 -1
|
@@ -1195,7 +1195,7 @@ Li(q);
|
|
|
1195
1195
|
const aa = {
|
|
1196
1196
|
computed: {
|
|
1197
1197
|
home() {
|
|
1198
|
-
return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username : "/welcome";
|
|
1198
|
+
return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username + "#gg" : "/welcome";
|
|
1199
1199
|
},
|
|
1200
1200
|
isAndroid() {
|
|
1201
1201
|
return /Android/i.test(navigator.userAgent) || Yn.getPlatform() === "android";
|
|
@@ -1317,6 +1317,7 @@ const aa = {
|
|
|
1317
1317
|
"setResponseType",
|
|
1318
1318
|
"switchAccount",
|
|
1319
1319
|
"loginSetup",
|
|
1320
|
+
"loginSuccess",
|
|
1320
1321
|
"refreshTokenAction"
|
|
1321
1322
|
])
|
|
1322
1323
|
},
|
|
@@ -1411,7 +1412,7 @@ function ka(n, e, t, r, o, i) {
|
|
|
1411
1412
|
const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed484"]]), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1412
1413
|
__proto__: null,
|
|
1413
1414
|
default: po
|
|
1414
|
-
}, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.
|
|
1415
|
+
}, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.162", hr = {
|
|
1415
1416
|
getMe() {
|
|
1416
1417
|
return ce().get("/users/me");
|
|
1417
1418
|
},
|
|
@@ -5552,7 +5553,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5552
5553
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5553
5554
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5554
5555
|
}
|
|
5555
|
-
}, Ao = () => Promise.resolve().then(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() => wd), Ra = () => import("./Account-
|
|
5556
|
+
}, Ao = () => Promise.resolve().then(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() => wd), Ra = () => import("./Account-5TJRQFEr.js"), Pa = () => Promise.resolve().then(() => du), Ma = () => Promise.resolve().then(() => Id), Na = () => import("./QR-KFsWzDOM.js"), Oa = () => Promise.resolve().then(() => xu), La = [
|
|
5556
5557
|
{
|
|
5557
5558
|
path: "/welcome",
|
|
5558
5559
|
name: "AuthWelcome",
|
|
@@ -5611,7 +5612,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5611
5612
|
namespaced: !0,
|
|
5612
5613
|
state: {
|
|
5613
5614
|
$storex: {},
|
|
5614
|
-
view: "
|
|
5615
|
+
view: "",
|
|
5615
5616
|
lang: "en",
|
|
5616
5617
|
realm: "app",
|
|
5617
5618
|
refreshing: !1,
|
|
@@ -18297,7 +18298,7 @@ const Pp = { id: "ssoapp" }, Mp = {
|
|
|
18297
18298
|
props: {
|
|
18298
18299
|
viewProp: {
|
|
18299
18300
|
type: String,
|
|
18300
|
-
default: "
|
|
18301
|
+
default: ""
|
|
18301
18302
|
},
|
|
18302
18303
|
isModal: {
|
|
18303
18304
|
type: Boolean,
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
package/src/mixins/auth.mixin.js
CHANGED
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
computed: {
|
|
5
5
|
home() {
|
|
6
6
|
if (this.$storex && this.$storex.token && this.$storex.username) {
|
|
7
|
-
if (import.meta.env.VITE_APP_MODE === 'npm') return '/' + this.$storex.username
|
|
7
|
+
if (import.meta.env.VITE_APP_MODE === 'npm') return '/' + this.$storex.username + '#gg'
|
|
8
8
|
if (import.meta.env.VITE_APP_MODE === 'redirect') return '/account'
|
|
9
9
|
} else return '/welcome'
|
|
10
10
|
},
|