@live-change/user-frontend 0.9.112 → 0.9.113

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.
@@ -95,7 +95,7 @@
95
95
  form.value.addValidator('passwordHash', () => {
96
96
  const value = form.value.getFieldValue('passwordHash')
97
97
  console.log("PASSWORDS MATCH?", secondPassword.value, value)
98
- if(value !== secondPassword.value) return "passwordsNotMatch"
98
+ if(value !== secondPassword.value) return "passwordNotMatch"
99
99
  })
100
100
  })
101
101
 
@@ -95,7 +95,7 @@
95
95
  form.value.addValidator('passwordHash', () => {
96
96
  const value = form.value.getFieldValue('passwordHash')
97
97
  console.log("PASSWORDS MATCH?", secondPassword.value, value)
98
- if(value !== secondPassword.value) return "passwordsNotMatch"
98
+ if(value !== secondPassword.value) return "passwordNotMatch"
99
99
  })
100
100
  })
101
101
 
@@ -41,7 +41,9 @@
41
41
  <template v-if="isMounted">
42
42
 
43
43
  <div class="p-field mb-4">
44
- <label for="newPassword" class="block text-surface-900 dark:text-surface-0 font-medium mb-2">New password</label>
44
+ <label for="newPassword" class="block text-surface-900 dark:text-surface-0 font-medium mb-2">
45
+ New password
46
+ </label>
45
47
  <Password id="newPassword" class="w-full" inputClass="w-full"
46
48
  toggleMask v-model:masked="masked"
47
49
  :invalid="!!data.passwordHashError"
@@ -101,6 +103,9 @@
101
103
  import { useRouter } from 'vue-router'
102
104
  const router = useRouter()
103
105
 
106
+ import { useI18n } from 'vue-i18n'
107
+ const { t } = useI18n()
108
+
104
109
  const isMounted = ref(false)
105
110
  onMounted(() => isMounted.value = true)
106
111
 
@@ -109,6 +114,14 @@
109
114
 
110
115
  const masked = ref(true)
111
116
 
117
+ onMounted(() => {
118
+ form.value.addValidator('passwordHash', () => {
119
+ const value = form.value.getFieldValue('passwordHash')
120
+ console.log("PASSWORDS MATCH?", secondPassword.value, value)
121
+ if(value !== secondPassword.value) return "passwordNotMatch"
122
+ })
123
+ })
124
+
112
125
  import { useToast } from 'primevue/usetoast'
113
126
  const toast = useToast()
114
127
  import { useConfirm } from 'primevue/useconfirm'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/user-frontend",
3
- "version": "0.9.112",
3
+ "version": "0.9.113",
4
4
  "scripts": {
5
5
  "memDev": "node --inspect --expose-gc server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; node server/start.js localDev --enableSessions --initScript ./init.js",
@@ -22,29 +22,29 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/cli": "^0.9.112",
26
- "@live-change/dao": "^0.9.112",
27
- "@live-change/dao-vue3": "^0.9.112",
28
- "@live-change/dao-websocket": "^0.9.112",
29
- "@live-change/email-service": "^0.9.112",
30
- "@live-change/framework": "^0.9.112",
31
- "@live-change/identicon-service": "^0.9.112",
32
- "@live-change/image-frontend": "^0.9.112",
33
- "@live-change/message-authentication-service": "^0.9.112",
34
- "@live-change/notification-service": "^0.9.112",
35
- "@live-change/password-authentication-service": "^0.9.112",
36
- "@live-change/pattern": "^0.9.112",
37
- "@live-change/secret-code-service": "^0.9.112",
38
- "@live-change/secret-link-service": "^0.9.112",
39
- "@live-change/security-frontend": "^0.9.112",
40
- "@live-change/security-service": "^0.9.112",
41
- "@live-change/session-service": "^0.9.112",
42
- "@live-change/timer-service": "^0.9.112",
43
- "@live-change/upload-service": "^0.9.112",
44
- "@live-change/user-identification-service": "^0.9.112",
45
- "@live-change/user-service": "^0.9.112",
46
- "@live-change/vue3-components": "^0.9.112",
47
- "@live-change/vue3-ssr": "^0.9.112",
25
+ "@live-change/cli": "^0.9.113",
26
+ "@live-change/dao": "^0.9.113",
27
+ "@live-change/dao-vue3": "^0.9.113",
28
+ "@live-change/dao-websocket": "^0.9.113",
29
+ "@live-change/email-service": "^0.9.113",
30
+ "@live-change/framework": "^0.9.113",
31
+ "@live-change/identicon-service": "^0.9.113",
32
+ "@live-change/image-frontend": "^0.9.113",
33
+ "@live-change/message-authentication-service": "^0.9.113",
34
+ "@live-change/notification-service": "^0.9.113",
35
+ "@live-change/password-authentication-service": "^0.9.113",
36
+ "@live-change/pattern": "^0.9.113",
37
+ "@live-change/secret-code-service": "^0.9.113",
38
+ "@live-change/secret-link-service": "^0.9.113",
39
+ "@live-change/security-frontend": "^0.9.113",
40
+ "@live-change/security-service": "^0.9.113",
41
+ "@live-change/session-service": "^0.9.113",
42
+ "@live-change/timer-service": "^0.9.113",
43
+ "@live-change/upload-service": "^0.9.113",
44
+ "@live-change/user-identification-service": "^0.9.113",
45
+ "@live-change/user-service": "^0.9.113",
46
+ "@live-change/vue3-components": "^0.9.113",
47
+ "@live-change/vue3-ssr": "^0.9.113",
48
48
  "@vueuse/core": "^12.3.0",
49
49
  "codeceptjs-assert": "^0.0.5",
50
50
  "codeceptjs-video-helper": "0.1.3",
@@ -65,7 +65,7 @@
65
65
  "wtfnode": "^0.9.1"
66
66
  },
67
67
  "devDependencies": {
68
- "@live-change/codeceptjs-helper": "^0.9.112",
68
+ "@live-change/codeceptjs-helper": "^0.9.113",
69
69
  "codeceptjs": "^3.6.10",
70
70
  "generate-password": "1.7.1",
71
71
  "playwright": "1.49.1",
@@ -76,5 +76,5 @@
76
76
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
77
77
  "license": "BSD-3-Clause",
78
78
  "description": "",
79
- "gitHead": "168448832a1c3b4fb17602293e3ed48425b697a9"
79
+ "gitHead": "8bf5b441c3b006618e5d2c0cc9acc838b405ed3d"
80
80
  }