]> source.dussan.org Git - gitea.git/commit
Fix oauth2 builtin application logic (#30304)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 8 Apr 2024 04:13:34 +0000 (12:13 +0800)
committerGitHub <noreply@github.com>
Mon, 8 Apr 2024 04:13:34 +0000 (04:13 +0000)
commit074a3e05f665ad8c635a314f49080f8846e6d315
tree24d4ec61b06beda2a720e333ce9db3c5292779ff
parent0c7b0c5acaae911d3d3fefa1d8b394594c860620
Fix oauth2 builtin application logic (#30304)

Fix #29074 (allow to disable all builtin apps) and don't make the doctor
command remove the builtin apps.

By the way, rename refobject and joincond to camel case.
models/db/consistency.go
modules/setting/oauth2.go
modules/setting/oauth2_test.go
services/doctor/dbconsistency.go
services/doctor/dbconsistency_test.go [new file with mode: 0644]
services/doctor/main_test.go [new file with mode: 0644]