WIP: log Info User created
This commit is contained in:
parent
a20f535211
commit
11e93784fe
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue