forgejo/routers/web/admin
Zettat123 2559c80bec
Add a warning for disallowed email domains (#29658)
Resolve #29660

Follow #29522 and #29609

Add a warning for disallowed email domains when admins manually add/edit
users.

Thanks @yp05327 for the
[comment](https://github.com/go-gitea/gitea/pull/29605#issuecomment-1980105119)

![image](https://github.com/go-gitea/gitea/assets/15528715/6737b221-a3a2-4180-9ef8-b846c10f96e0)

(cherry picked from commit 4129e0e79bbf30e4297efd33feb2602c40322d10)
2024-03-20 08:46:28 +01:00
..
admin.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
admin_test.go Makefile: check git diff exit-code (#2651) 2024-03-14 10:38:58 +00:00
applications.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
auths.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
config.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
diagnosis.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
emails.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
hooks.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
main_test.go
notice.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
orgs.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
queue.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
queue_tester.go
repos.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
runners.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
stacktrace.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
users.go Add a warning for disallowed email domains (#29658) 2024-03-20 08:46:28 +01:00
users_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00