From 8cea4579eba00a210a81df86d0a2623b033949fc Mon Sep 17 00:00:00 2001 From: Akhil Gupta Date: Mon, 7 Jun 2021 16:05:37 +0530 Subject: [PATCH] fix breaking login and wrong port --- README.md | 6 +++--- server/models/auth.go | 2 +- ui/src/router/views/settings.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e4c7619..f42b675 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ -->

Hammond

-

Current Version - 2021.06.01

+

Current Version - 2021.06.07

A self-hosted vehicle expense tracking system with support for multiple users. @@ -88,13 +88,13 @@ The easiest way to run Hammond is to run it as a docker container. Simple setup without mounted volumes (for testing and evaluation) ```sh - docker run -d -p 8080:8080 --name=hammond akhilrex/hammond + docker run -d -p 3000:3000 --name=hammond akhilrex/hammond ``` Binding local volumes to the container ```sh - docker run -d -p 8080:8080 --name=hammond -v "/host/path/to/assets:/assets" -v "/host/path/to/config:/config" akhilrex/hammond + docker run -d -p 3000:3000 --name=hammond -v "/host/path/to/assets:/assets" -v "/host/path/to/config:/config" akhilrex/hammond ``` ### Using Docker-Compose diff --git a/server/models/auth.go b/server/models/auth.go index cdc52e8..8868b32 100644 --- a/server/models/auth.go +++ b/server/models/auth.go @@ -12,7 +12,7 @@ type LoginResponse struct { type LoginRequest struct { Email string `form:"email" json:"email" binding:"required,email"` - Password string `form:"password" json:"password" binding:"required,min=6,max=255"` + Password string `form:"password" json:"password" binding:"required,max=255"` } type RegisterRequest struct { diff --git a/ui/src/router/views/settings.vue b/ui/src/router/views/settings.vue index ea8c018..ee61e14 100644 --- a/ui/src/router/views/settings.vue +++ b/ui/src/router/views/settings.vue @@ -172,7 +172,7 @@ export default { - +
Current Version2021.06.012021.06.07
Website