1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:54:24 +00:00
gitea/templates/admin/user
赵智超 88c14326b1
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>
2020-04-06 10:23:15 -04:00
..
edit.tmpl Users should not be able to prohibit their own login (#10970) 2020-04-06 10:23:15 -04:00
list.tmpl Restricted users (#6274) 2020-01-13 18:33:46 +01:00
new.tmpl Fix new user form for non-local users (#8826) 2019-11-04 21:10:37 +02:00