@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: true,
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
  ),
@@ -70,7 +70,7 @@ export default {
70
70
  {
71
71
  email: "",
72
72
  device_name: "Mobile device",
73
- remember: true,
73
+ remember: false, // (DISABLE REMEMBER UNTIL SUBDOMAIN ISSUE RESOLVED FOR ALL .avh-det.com & .avalereheatlth.com domains
74
74
  },
75
75
  { resetOnSuccess: false },
76
76
  ),
@@ -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
- } finally {
23
- this.done = true;
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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-velocity",
3
- "version": "2.0.0-beta.51",
3
+ "version": "2.0.0-beta.53",
4
4
  "description": "Avalere Health branded style system",
5
5
  "scripts": {
6
6
  "setup": "npm ci || npm i && npm run content",