forked from gitea/gitea

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> (cherry picked from commit 08c63190c68ca63f99f510f7f2c6cda41d531343)
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> (cherry picked from commit 08c63190c68ca63f99f510f7f2c6cda41d531343)