0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 09:54:15 -05:00
forgejo/routers/api/v1/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
..
adopt.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
cron.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
email.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
hooks.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
org.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
repo.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
user.go Add a warning for disallowed email domains (#29658) 2024-03-20 08:46:28 +01:00