Skip to content

Commit 607a7d0

Browse files
committed
Fix windows nakedret
1 parent eab4a1c commit 607a7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/auth/sspi_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (s *SSPI) shouldAuthenticate(req *http.Request) (shouldAuth bool) {
180180
} else if middleware.IsAPIPath(req) || isAttachmentDownload(req) {
181181
shouldAuth = true
182182
}
183-
return
183+
return shouldAuth
184184
}
185185

186186
// newUser creates a new user object for the purpose of automatic registration

0 commit comments

Comments
 (0)