Fixed #443 Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/444 Reviewed-by: 6543 <6543@noreply.gitea.io>