Skip to content

Change to CHI misses some updates required for windows #14259

Closed
@blazecoding2009

Description

@blazecoding2009
  • Gitea version (or commit ref): latest
  • Git version:
  • Operating system: Windows
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [X ] No
  • Log gist:

Description

Got this error when I run go run main.go

# code.gitea.io/gitea/modules/auth/sso
modules\auth\sso\sspi_windows.go:69:27: undefined: ctx
modules\auth\sso\sspi_windows.go:79:56: undefined: ctx
modules\auth\sso\sspi_windows.go:82:37: undefined: ctx
modules\auth\sso\sspi_windows.go:87:15: undefined: ctx
modules\auth\sso\sspi_windows.go:88:3: undefined: ctx
modules\auth\sso\sspi_windows.go:89:3: undefined: ctx
modules\auth\sso\sspi_windows.go:90:3: undefined: ctx
modules\auth\sso\sspi_windows.go:94:37: undefined: ctx
modules\auth\sso\sspi_windows.go:113:24: too many arguments in call to s.newUser
modules\auth\sso\sspi_windows.go:113:25: undefined: ctx
modules\auth\sso\sspi_windows.go:113:24: too many errors```
## Screenshots

<!-- **If this issue involves the Web Interface, please include a screenshot** -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions