@fishawack/lab-velocity 1.11.0 → 1.11.1
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<strong class="">Email: {{ $store.state?.auth?.user?.email }}</strong>
|
|
9
9
|
</p>
|
|
10
10
|
<p class="AM-mt-0.5">
|
|
11
|
-
<strong>Hello {{ $store.state?.auth?.user?.name }}</strong>, and welcome to
|
|
11
|
+
<strong>Hello {{ $store.state?.auth?.user?.name }}</strong>, and welcome to {{ $store.state.auth.platformName }}. To maintain security, anyone signing in with a one-time-password must <strong>create a new password</strong> the first time they access the {{ $store.state.auth.platformName }} portal.
|
|
12
12
|
</p>
|
|
13
13
|
<el-input
|
|
14
14
|
v-model="form.password"
|
|
@@ -105,7 +105,12 @@ export default {
|
|
|
105
105
|
}
|
|
106
106
|
if(res['redirect']) {
|
|
107
107
|
// Redirect here
|
|
108
|
-
this.$router.push({ name: `${this.$store.state.auth.authBase}.
|
|
108
|
+
this.$router.push({ name: `${this.$store.state.auth.authBase}.login`, query: {company:res['company']} });
|
|
109
|
+
this.$notify.error({
|
|
110
|
+
title: "Domain is SSO enabled",
|
|
111
|
+
message:"Sign in with your company email address",
|
|
112
|
+
duration: 10000,
|
|
113
|
+
});
|
|
109
114
|
} else {
|
|
110
115
|
await this.postLogin();
|
|
111
116
|
}
|