mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
linting
This commit is contained in:
parent
510868731d
commit
3a6dfadcd0
|
@ -92,7 +92,7 @@ classDiagram
|
|||
Type UserType
|
||||
IsActive bool
|
||||
IsAdmin bool
|
||||
NormalizedFederatedUri string
|
||||
NormalizedFederatedURI string
|
||||
Validate() []string
|
||||
}
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ func CreateUserFromAP(ctx context.Context, personID fm.PersonID, federationHostI
|
|||
LoginName: loginName,
|
||||
Type: user.UserTypeRemoteUser,
|
||||
IsAdmin: false,
|
||||
NormalizedFederatedUri: personID.AsURI(),
|
||||
NormalizedFederatedURI: personID.AsURI(),
|
||||
}
|
||||
federatedUser := user.FederatedUser{
|
||||
ExternalID: personID.ID,
|
||||
|
|
Loading…
Reference in a new issue