@fishawack/lab-velocity 2.0.0-beta.51 → 2.0.0-beta.53
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.
|
@@ -79,7 +79,7 @@ export default {
|
|
|
79
79
|
email: this.$route.query.email ?? "",
|
|
80
80
|
password: "",
|
|
81
81
|
device_name: "Mobile device",
|
|
82
|
-
remember:
|
|
82
|
+
remember: false, // (DISABLE REMEMBER UNTIL SUBDOMAIN ISSUE RESOLVED FOR ALL .avh-det.com & .avalereheatlth.com domains
|
|
83
83
|
},
|
|
84
84
|
{ resetOnSuccess: false },
|
|
85
85
|
),
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script>
|
|
6
|
+
import axios from "axios";
|
|
6
7
|
import clearCookies from "../js/clear-cookies";
|
|
7
8
|
|
|
8
9
|
export default {
|
|
@@ -19,11 +20,19 @@ export default {
|
|
|
19
20
|
async mounted() {
|
|
20
21
|
try {
|
|
21
22
|
await this.$store.dispatch("logout");
|
|
22
|
-
}
|
|
23
|
-
|
|
23
|
+
} catch {
|
|
24
|
+
/* empty */
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
clearCookies();
|
|
28
|
+
|
|
29
|
+
try {
|
|
30
|
+
await axios.get("/sanctum/csrf-cookie");
|
|
31
|
+
} catch {
|
|
32
|
+
/* empty */
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
this.done = true;
|
|
27
36
|
},
|
|
28
37
|
};
|
|
29
38
|
</script>
|