File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,20 @@ func (users UserList) getUserIDs() []int64 {
17
17
}
18
18
19
19
// IsUserOrgOwner returns true if user is in the owner team of given organization.
20
- func (ul UserList ) IsUserOrgOwner (orgID int64 ) []bool {
21
- results := make ([]bool , len (ul ))
20
+ func (users UserList ) IsUserOrgOwner (orgID int64 ) []bool {
21
+ results := make ([]bool , len (users ))
22
22
//TODO use directly xorm
23
- for i , u := range ul {
23
+ for i , u := range users {
24
24
results [i ] = u .IsUserOrgOwner (orgID )
25
25
}
26
26
return results
27
27
}
28
28
29
29
// IsTwoFaEnrolled return state of 2FA enrollement
30
- func (ul UserList ) IsTwoFaEnrolled () []bool {
31
- results := make ([]bool , len (ul ))
30
+ func (users UserList ) IsTwoFaEnrolled () []bool {
31
+ results := make ([]bool , len (users ))
32
32
//TODO use directly xorm
33
- for i , u := range ul {
33
+ for i , u := range users {
34
34
results [i ] = u .IsTwoFaEnrolled ()
35
35
}
36
36
return results
You can’t perform that action at this time.
0 commit comments