Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01: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 {
panic(fmt.Errorf("CreateUser: %w", err))
}
log.Info("User created!")
} else {
// use first user
user := users[0]