You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: models/user/user.go
+12-6
Original file line number
Diff line number
Diff line change
@@ -48,19 +48,19 @@ const (
48
48
UserTypeIndividualUserType=iota// Historic reason to make it starts at 0.
49
49
50
50
// UserTypeOrganization defines an organization
51
-
UserTypeOrganization
51
+
UserTypeOrganization// 1
52
52
53
53
// UserTypeUserReserved reserves a (non-existing) user, i.e. to prevent a spam user from re-registering after being deleted, or to reserve the name until the user is actually created later on
54
-
UserTypeUserReserved
54
+
UserTypeUserReserved// 2
55
55
56
56
// UserTypeOrganizationReserved reserves a (non-existing) organization, to be used in combination with UserTypeUserReserved
57
-
UserTypeOrganizationReserved
57
+
UserTypeOrganizationReserved// 3
58
58
59
59
// UserTypeBot defines a bot user
60
-
UserTypeBot
60
+
UserTypeBot// 4
61
61
62
62
// UserTypeRemoteUser defines a remote user for federated users
0 commit comments