]> source.dussan.org Git - gitea.git/commit
Admin page for managing user e-mail activation (#10557)
authorguillep2k <18600385+guillep2k@users.noreply.github.com>
Mon, 2 Mar 2020 18:25:36 +0000 (15:25 -0300)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 18:25:36 +0000 (15:25 -0300)
commit5e1438ba92fe5b4398ebf468e4ede21c7ef60409
tree40096ee69a4ac5df46428a3cf1ae7ee3bee8078e
parentb5ecc82d6e22b5701bfadc1ebc430b9c7fef0cc8
Admin page for managing user e-mail activation (#10557)

* Implement mail activation admin panel

* Add export comments

* Fix another export comment

* again...

* And again!

* Apply suggestions by @lunny

* Add UI for user activated emails

* Make new activation UI work

* Fix lint

* Prevent admin from self-deactivate; add modal

Co-authored-by: zeripath <art27@cantab.net>
12 files changed:
models/user_mail.go
models/user_mail_test.go
options/locale/locale_en-US.ini
routers/admin/emails.go [new file with mode: 0644]
routers/routes/routes.go
routers/user/auth.go
routers/user/setting/account.go
templates/admin/emails/list.tmpl [new file with mode: 0644]
templates/admin/nav.tmpl
templates/admin/navbar.tmpl
templates/user/settings/account.tmpl
web_src/js/index.js