mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
Update ToDo
This commit is contained in:
parent
afe659f9f4
commit
22d71e6b30
|
@ -262,6 +262,8 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
|
||||
// Check if user already exists
|
||||
// TODO: If the usesrs-id points to our current host, we've to use an alterantive search ...
|
||||
// > We might need to discuss this further with the community, because when we execute this bit of code here, the federated api has been called.
|
||||
// > Thus the searching for non-federated users could facilitate spoofing of already existing user-ids for some (malicious) purposes.
|
||||
users, err := searchUsersByPerson(remoteStargazer)
|
||||
if err != nil {
|
||||
panic(fmt.Errorf("searching for user failed: %v", err))
|
||||
|
|
Loading…
Reference in a new issue