mirror of
https://github.com/go-gitea/gitea
synced 2024-11-02 16:24:25 +00:00
d95102d650
## Bug in Gitea I ran into this bug when I accidentally used the wrong redirect URL for the oauth2 provider when using mssql. But the oauth2 provider still got added. Most of the time, we use `Delete(&some{id: some.id})` or `In(condition).Delete(&some{})`, which specify the conditions. But the function uses `Delete(source)` when `source.Cfg` is a `TEXT` field and not empty. This will cause xorm `Delete` function not working in mssql. |
||
---|---|---|
.. | ||
access_token_scope_test.go | ||
access_token_scope.go | ||
access_token_test.go | ||
access_token.go | ||
auth_token.go | ||
main_test.go | ||
oauth2_test.go | ||
oauth2.go | ||
session.go | ||
source_test.go | ||
source.go | ||
twofactor.go | ||
webauthn_test.go | ||
webauthn.go |