forked from kevadesu/forgejo
added test for federated user
This commit is contained in:
parent
67f3f66be4
commit
a702da69cc
5 changed files with 34 additions and 3 deletions
|
@ -245,7 +245,6 @@ func createFederationInfo(ctx *context.APIContext, actorID forgefed.ActorID) (fo
|
|||
return result, nil
|
||||
}
|
||||
|
||||
// ToDo: Maybe use externalLoginUser
|
||||
func createUserFromAP(ctx *context.APIContext, personID forgefed.PersonID) (*user_model.User, error) {
|
||||
// ToDo: Do we get a publicKeyId from server, repo or owner or repo?
|
||||
actionsUser := user_model.NewActionsUser()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue