mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 14:12:37 +02: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:
1 parent
7d1aed83f4
commit
c3b2e44392
18 files changed
+615
-43
No files matched your search
@@ -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