gitea/routers/admin
赵智超 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
..
admin.go Change admin dashboard to POST (#10465) 2020-02-25 16:54:13 -06:00
admin_test.go Shadow the password on cache and session config on admin panel (#7300) 2019-06-27 00:12:38 +08:00
auths.go Upgrade xorm to v1.0.0 (#10646) 2020-03-22 11:12:55 -04:00
emails.go
hooks.go
main_test.go
notice.go
orgs.go
repos.go Add owner_name column for table repository for maintaince reason (#9717) 2020-01-12 17:36:21 +08:00
users.go
users_test.go