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 {
1717}
1818
1919// 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 ))
2222 //TODO use directly xorm
23- for i , u := range ul {
23+ for i , u := range users {
2424 results [i ] = u .IsUserOrgOwner (orgID )
2525 }
2626 return results
2727}
2828
2929// 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 ))
3232 //TODO use directly xorm
33- for i , u := range ul {
33+ for i , u := range users {
3434 results [i ] = u .IsTwoFaEnrolled ()
3535 }
3636 return results
You can’t perform that action at this time.
0 commit comments