From cd1fa849fb161d3bbc7c582aa2787315a1037db1 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 19 Jul 2023 20:12:36 +0200 Subject: fix: Fix path not storing properly Also, initial user is now created as admin. --- pkg/database/sql/user.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/database/sql') diff --git a/pkg/database/sql/user.go b/pkg/database/sql/user.go index 11718be..15dbe72 100644 --- a/pkg/database/sql/user.go +++ b/pkg/database/sql/user.go @@ -140,6 +140,7 @@ func (self *UserRepository) Create(ctx context.Context, createUser *repository.C user := &User{ Username: createUser.Username, Name: createUser.Name, + Path: createUser.Path, Password: string(createUser.Password), } -- cgit v1.2.3