first commit

This commit is contained in:
fabien committed 2026-08-08 23:12:37 +02:00
1 parent ff6ef46cd4
commit e3fd942c47
20 files changed
+493 -270

No files matched your search

@@ -70,13 +70,7 @@ func (s *PasswordAuthenticator) Register(ctx context.Context, registration auth.
Enabled: true,
}
count, err := s.userRepository.CountUsers()
if err != nil {
return nil, err
}
if count == 0 {
user.Administrator = true
}
// TODO: create team "Espace personnel" and put user in it
user, err = s.userRepository.CreateUser(user)