diff --git a/forgejo/user.go b/forgejo/user.go index c838c97..a3fed5b 100644 --- a/forgejo/user.go +++ b/forgejo/user.go @@ -21,6 +21,10 @@ type User struct { ID int64 `json:"id"` // the user's username UserName string `json:"login"` + // The login_name of non local users (e.g. LDAP / OAuth / SMTP) + LoginName string `json:"login_name"` + // The ID of the Authentication Source for non local users. + SourceID int64 `json:"source_id"` // the user's full name FullName string `json:"full_name"` Email string `json:"email"`