diff options
author | 赵智超 <1012112796@qq.com> | 2020-04-06 22:23:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 10:23:15 -0400 |
commit | 88c14326b1a5d9216d5f6905dcbe44e43efdb5b3 (patch) | |
tree | ac64fee2e8dca1a7d138399cbf55f1b12ead162b /routers/repo/search.go | |
parent | 1bec60e02afe7c3999f48fa5630031893bd440e8 (diff) | |
download | gitea-88c14326b1a5d9216d5f6905dcbe44e43efdb5b3.tar.gz gitea-88c14326b1a5d9216d5f6905dcbe44e43efdb5b3.zip |
Users should not be able to prohibit their own login (#10970)
* ui: limit managers prohibit themself to login
Because I think it's crazy and not reasonale , that if a user can
prohibit themself to login. so suggest limit this choice on ui
Signed-off-by: a1012112796 <1012112796@qq.com>
* skip self Prohibit Login in post event handle
* fix comment
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'routers/repo/search.go')
0 files changed, 0 insertions, 0 deletions