diff --git a/package-lock.json b/package-lock.json index bcb4c79ba..f5075d200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.0", "dependencies": { "@bdelab/roam-fluency": "^1.11.9", - "@bdelab/roar-firekit": "^4.8.8", + "@bdelab/roar-firekit": "^4.8.9", "@bdelab/roar-letter": "^1.10.0", "@bdelab/roar-multichoice": "^1.9.4", "@bdelab/roar-pa": "^1.6.4", @@ -1596,9 +1596,9 @@ } }, "node_modules/@bdelab/roar-firekit": { - "version": "4.8.8", - "resolved": "https://registry.npmjs.org/@bdelab/roar-firekit/-/roar-firekit-4.8.8.tgz", - "integrity": "sha512-VUs5GiS2EtFjZFe5w/cAxVOjPTO9xDkTsS+H4lQWfTCj0ofMgHzkCL3Ma0WXozXOC0/HE/ksdlRyeE5I89chqw==", + "version": "4.8.9", + "resolved": "https://registry.npmjs.org/@bdelab/roar-firekit/-/roar-firekit-4.8.9.tgz", + "integrity": "sha512-M6eogX/IkNq2pvNndUTvGolQ4321ALD1qkL0FlWAxdW7vjA7LpedHGezc0l1lrlBtqwvyd+BKJNcQ7jaaMzgFQ==", "dependencies": { "@bdelab/roar-firekit": "^4.1.1", "crc-32": "^1.2.2", @@ -27100,9 +27100,9 @@ } }, "@bdelab/roar-firekit": { - "version": "4.8.8", - "resolved": "https://registry.npmjs.org/@bdelab/roar-firekit/-/roar-firekit-4.8.8.tgz", - "integrity": "sha512-VUs5GiS2EtFjZFe5w/cAxVOjPTO9xDkTsS+H4lQWfTCj0ofMgHzkCL3Ma0WXozXOC0/HE/ksdlRyeE5I89chqw==", + "version": "4.8.9", + "resolved": "https://registry.npmjs.org/@bdelab/roar-firekit/-/roar-firekit-4.8.9.tgz", + "integrity": "sha512-M6eogX/IkNq2pvNndUTvGolQ4321ALD1qkL0FlWAxdW7vjA7LpedHGezc0l1lrlBtqwvyd+BKJNcQ7jaaMzgFQ==", "requires": { "@bdelab/roar-firekit": "^4.1.1", "crc-32": "^1.2.2", diff --git a/package.json b/package.json index 2e763fcff..7c387a58c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@bdelab/roam-fluency": "^1.11.9", - "@bdelab/roar-firekit": "^4.8.8", + "@bdelab/roar-firekit": "^4.8.9", "@bdelab/roar-letter": "^1.10.0", "@bdelab/roar-multichoice": "^1.9.4", "@bdelab/roar-pa": "^1.6.4", diff --git a/src/components/auth/SignIn.vue b/src/components/auth/SignIn.vue index 4018816bc..16104c107 100644 --- a/src/components/auth/SignIn.vue +++ b/src/components/auth/SignIn.vue @@ -6,6 +6,8 @@ +
⇪ Caps Lock is on!
@@ -135,6 +142,7 @@ const rules = { }; const submitted = ref(false); const v$ = useVuelidate(rules, state); +const capsLockEnabled = ref(false); const handleFormSubmit = (isFormValid) => { submitted.value = true; @@ -188,6 +196,10 @@ const validateRoarEmail = _debounce( { maxWait: 1000 }, ); +function checkForCapsLock(e) { + capsLockEnabled.value = e.getModifierState('CapsLock'); +} + watch( () => state.email, async (email) => { diff --git a/src/store/auth.js b/src/store/auth.js index 5ce5aef9b..55e5e020a 100644 --- a/src/store/auth.js +++ b/src/store/auth.js @@ -99,6 +99,7 @@ export const useAuthStore = () => { .then(() => {}) .catch((error) => { console.error('Error signing in:', error); + throw error; }); } },