You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
4 years ago
..
admin.go Change admin dashboard to POST (#10465) 4 years ago
admin_test.go Shadow the password on cache and session config on admin panel (#7300) 5 years ago
auths.go Upgrade xorm to v1.0.0 (#10646) 4 years ago
emails.go Admin page for managing user e-mail activation (#10557) 4 years ago
hooks.go System-wide webhooks (#10546) 4 years ago
main_test.go Force user to change password (#4489) 6 years ago
notice.go Use gitea forked macaron (#7933) 5 years ago
orgs.go API add/generalize pagination (#9452) 4 years ago
repos.go Add owner_name column for table repository for maintaince reason (#9717) 5 years ago
users.go Users should not be able to prohibit their own login (#10970) 4 years ago
users_test.go Fix password complexity regex for special characters (on master) (#8525) 5 years ago