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