]> source.dussan.org Git - gitea.git/commit
Fix incorrect CurrentUser check for docker rootless (#24441)
authorwxiaoguang <wxiaoguang@gmail.com>
Sun, 30 Apr 2023 18:14:57 +0000 (02:14 +0800)
committerGitHub <noreply@github.com>
Sun, 30 Apr 2023 18:14:57 +0000 (14:14 -0400)
commit2a56666fd24cd604a7220682ec06e85895a220c0
tree9a15d034096cbb06296c0a4a0b3a6873d5a4dfc5
parentf7cf7e68482d10ac07fa38c12f15b7886f97f3c7
Fix incorrect CurrentUser check for docker rootless (#24441)

The IsRunUserMatchCurrentUser logic is fragile, the "SSH" config is not
ready when it executes.
modules/setting/setting.go