@fishawack/lab-velocity 1.3.0 → 1.3.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.
@@ -7,9 +7,20 @@
7
7
  <p class="AM-mt-2 AM-mb-0">
8
8
  Please complete the fields below to change your password.
9
9
  </p>
10
+
10
11
  <el-input
11
- v-model="form.password"
12
12
  class="AM-mt-3"
13
+ label="Current password"
14
+ placeholder="Enter your current password"
15
+ name="current_password"
16
+ type="password"
17
+ required
18
+ v-model="form.current_password"
19
+ :error="form.errors"
20
+ />
21
+ <el-input
22
+ v-model="form.password"
23
+ class="AM-mt-2 AM-mb-2"
13
24
  label="New Password"
14
25
  placeholder="Enter your new password"
15
26
  name="password"
@@ -66,6 +77,7 @@ export default {
66
77
  {
67
78
  email: this.$store.state.auth.user?.email,
68
79
  password: '',
80
+ current_password: ''
69
81
  },
70
82
  { resetOnSuccess: false }
71
83
  ),
@@ -51,7 +51,6 @@
51
51
 
52
52
  <script>
53
53
  import Form from "form-backend-validation";
54
- import store from "../js/AuthStore";
55
54
 
56
55
  export default {
57
56
  data() {
@@ -60,6 +59,7 @@ export default {
60
59
  {
61
60
  email: this.$store.state.auth.user?.email,
62
61
  password: '',
62
+ otp: true,
63
63
  },
64
64
  { resetOnSuccess: false }
65
65
  ),
@@ -19,3 +19,6 @@
19
19
  right: 0;
20
20
  }
21
21
  }
22
+ .AuthModule__form.modal__box {
23
+ position: absolute;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-velocity",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Avalere Health branded style system",
5
5
  "scripts": {
6
6
  "setup": "npm ci || npm i && npm run content",