mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Add team member invite by email (#20307)
Allows to add (not registered) team members by email. related #5353 Invite by mail:  Pending invitations:  Email:  Join form:  Co-authored-by: Jack Hay <jjphay@gmail.com>
This commit is contained in:
@ -651,6 +651,11 @@ func RegisterRoutes(m *web.Route) {
|
||||
m.Post("/create", bindIgnErr(forms.CreateOrgForm{}), org.CreatePost)
|
||||
})
|
||||
|
||||
m.Group("/invite/{token}", func() {
|
||||
m.Get("", org.TeamInvite)
|
||||
m.Post("", org.TeamInvitePost)
|
||||
})
|
||||
|
||||
m.Group("/{org}", func() {
|
||||
m.Get("/dashboard", user.Dashboard)
|
||||
m.Get("/dashboard/{team}", user.Dashboard)
|
||||
|
Reference in New Issue
Block a user