mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
Update ToDo
This commit is contained in:
parent
afe659f9f4
commit
22d71e6b30
1 changed files with 2 additions and 0 deletions
|
@ -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