That should come from that change https://github.com/go-gitea/gitea/commit/f2e20c81b66e6a937ecdb686f8d1011371433365#diff-b39af036c147da90df23fbbd6b50e41fL29 the check is not the same.
@sapk good catch. It's not zero. I will send a PR to fix that.
@lunny thanks for the PR, I haven't time to fix it and test it ^^
Most helpful comment
That should come from that change https://github.com/go-gitea/gitea/commit/f2e20c81b66e6a937ecdb686f8d1011371433365#diff-b39af036c147da90df23fbbd6b50e41fL29 the check is not the same.