diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-09-18 10:35:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 10:35:24 +0800 |
commit | 395f65c65a4b3d2bb06056b9bba3f4c016ab03e9 (patch) | |
tree | 380f6445cbcbd5849541fa313eb0949ccc9296d9 /cmd | |
parent | 321964155a605900bad1c3c97163bf33b4ae5d65 (diff) | |
download | gitea-395f65c65a4b3d2bb06056b9bba3f4c016ab03e9.tar.gz gitea-395f65c65a4b3d2bb06056b9bba3f4c016ab03e9.zip |
Remove unnecessary length check for repo's Description & Website (#21194)
Follows #21119
The manual length check doesn't make sense nowadays:
1. The length check is already done by form's `binding:MaxSize` (then the manual check is unnecessary)
2. The CreateRepository doesn't have such check (then the manual check is inconsistent)
So this PR removes these manual length checks.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions