From 4a2fb7e82d5d617298cb28b66485fc6f30c55781 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 21 Apr 2021 17:23:07 +0200 Subject: Reworked the webui package, added authentication feature and tests --- pkg/model/users.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pkg') diff --git a/pkg/model/users.go b/pkg/model/users.go index e4b4bf0..943d161 100644 --- a/pkg/model/users.go +++ b/pkg/model/users.go @@ -11,12 +11,12 @@ type User struct { } type UserLogin struct { - Username string `json:"username"` - Password string `json:"password"` + Username string + Password string } type UserRegistration struct { - Username string `json:"username"` - Password string `json:"password"` - Email string `json:"email"` + Username string + Password string + Email string } -- cgit v1.2.3