diff options
Diffstat (limited to 'pkg/service')
-rw-r--r-- | pkg/service/auth.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/service/auth.go b/pkg/service/auth.go index 4358a8a..761c70b 100644 --- a/pkg/service/auth.go +++ b/pkg/service/auth.go @@ -69,6 +69,7 @@ func (c *AuthController) InitialRegister(ctx context.Context, username, password _, err = c.userRepository.Create(ctx, &repository.CreateUser{ Username: string(username), Password: hash, + IsAdmin: true, Path: string(path), }) |