Fix doer of rename repo (#11789)
Fix doer of rename repo (#11789)

fix #11725

Signed-off-by: a1012112796 <0a2492404be0c6c42b907cdcd1cb97449035f950@qq.com>

Co-authored-by: zeripath <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>
cez81/gitea,vdbt/gitea,cez81/gitea,vdbt/gitea,go-gitea/gitea,vCaesar/gitea,go-gitea/gitea,sapk-fork/gitea,sapk-fork/gitea,sapk-fork/gitea,cez81/gitea,sapk-fork/gitea,vCaesar/gitea,go-gitea/gitea