Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546a549 commit 8f33c6dCopy full SHA for 8f33c6d
coderd/telemetry/telemetry.go
@@ -947,6 +947,7 @@ func ConvertUser(dbUser database.User) User {
947
CreatedAt: dbUser.CreatedAt,
948
Status: dbUser.Status,
949
GithubComUserID: dbUser.GithubComUserID.Int64,
950
+ LoginType: string(dbUser.LoginType),
951
}
952
953
@@ -1149,6 +1150,8 @@ type User struct {
1149
1150
RBACRoles []string `json:"rbac_roles"`
1151
Status database.UserStatus `json:"status"`
1152
GithubComUserID int64 `json:"github_com_user_id"`
1153
+ // Omitempty for backwards compatibility.
1154
+ LoginType string `json:"login_type,omitempty"`
1155
1156
1157
type Group struct {
0 commit comments