aboutsummaryrefslogtreecommitdiff
path: root/pkg/components/auth/controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/components/auth/controller.go')
-rw-r--r--pkg/components/auth/controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/components/auth/controller.go b/pkg/components/auth/controller.go
index 2f30fb5..a33d9b3 100644
--- a/pkg/components/auth/controller.go
+++ b/pkg/components/auth/controller.go
@@ -67,7 +67,7 @@ func (c *Controller) InitialRegister(ctx context.Context, username, password []b
return err
}
- err = c.userRepository.Create(ctx, &user.CreateUser{
+ _, err = c.userRepository.Create(ctx, &user.CreateUser{
Username: string(username),
Password: hash,
Path: string(path),