Implement login page with email/password authentication #69

Merged
FernandoJVideira merged 6 commits from feature/login-page into develop 2025-12-22 17:08:38 +00:00
2 changed files with 23 additions and 25 deletions
Showing only changes of commit 2734e25cce - Show all commits
-1
View File
@@ -74,6 +74,5 @@ const handleSubmit = async () => {
error: (error) =>
error.response?.data?.message
})
router.push('/')
}
</script>
+3 -4
View File
@@ -2,7 +2,6 @@ import { defineStore } from 'pinia'
import { inject } from 'vue'
export const useSocketStore = defineStore('socket', () => {
try {
const socket = inject('socket')
const handleConnection = () => {
@@ -13,13 +12,13 @@ export const useSocketStore = defineStore('socket', () => {
socket.on('disconnect', () => {
console.log(`[Socket] Disconnected -- ${socket.id}`)
})
} catch (error) {}
} catch (error) {
console.error('[Socket] Connection error:', error)
}
}
return {
handleConnection,
}
} catch (error) {
}
})