parent
1a04da864f
commit
f191bff0b9
|
@ -220,6 +220,9 @@ func Migrate(ctx *context.APIContext, f form.MigrateRepo) {
|
||||||
ctx.Error(500, "GetUserByID", err)
|
ctx.Error(500, "GetUserByID", err)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
} else if !org.IsOrganization() {
|
||||||
|
ctx.Error(403, "", err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
ctxUser = org
|
ctxUser = org
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue