1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00

WIP: log Info User created

This commit is contained in:
Mirco 2023-12-05 11:46:11 +01:00 committed by Michael Jerger
parent a20f535211
commit 11e93784fe

View file

@ -224,7 +224,7 @@ func RepositoryInbox(ctx *context.APIContext) {
if err := user_model.CreateUser(ctx, user, overwriteDefault); err != nil { if err := user_model.CreateUser(ctx, user, overwriteDefault); err != nil {
panic(fmt.Errorf("CreateUser: %w", err)) panic(fmt.Errorf("CreateUser: %w", err))
} }
log.Info("User created!")
} else { } else {
// use first user // use first user
user := users[0] user := users[0]