forgejo/templates/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
..
auth Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
base
emails Admin page for managing user e-mail activation (#10557) 2020-03-02 15:25:36 -03:00
org
repo
user Users should not be able to prohibit their own login (#10970) 2020-04-06 10:23:15 -04:00
config.tmpl
dashboard.tmpl Change admin dashboard to POST (#10465) 2020-02-25 16:54:13 -06:00
hook_new.tmpl
hooks.tmpl
monitor.tmpl
navbar.tmpl System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00
notice.tmpl Fix admin notices (#10480) 2020-02-26 10:25:54 -06:00
queue.tmpl