Skip to content

Commit a642ba4

Browse files
committed
Fix lint of windows
1 parent ee9d9be commit a642ba4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/auth/sspi_windows.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"strings"
1111

1212
"code.gitea.io/gitea/models"
13+
"code.gitea.io/gitea/models/login"
1314
"code.gitea.io/gitea/modules/base"
1415
"code.gitea.io/gitea/modules/log"
1516
"code.gitea.io/gitea/modules/setting"
@@ -152,7 +153,7 @@ func (s *SSPI) Verify(req *http.Request, w http.ResponseWriter, store DataStore,
152153

153154
// getConfig retrieves the SSPI configuration from login sources
154155
func (s *SSPI) getConfig() (*sspi.Source, error) {
155-
sources, err := models.ActiveLoginSources(login.SSPI)
156+
sources, err := models.ActiveSources(login.SSPI)
156157
if err != nil {
157158
return nil, err
158159
}

0 commit comments

Comments
 (0)