mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 01:34:04 +00:00
feat: register org process (#558)
* feat: register new organisation * feat: create org request in management * fix: tests * Update internal/ui/login/static/i18n/en.yaml Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/static/i18n/de.yaml Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/static/templates/register_org.html Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/handler/register_org_handler.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/handler/register_org_handler.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * fix: remove autocomplete * fix: regenerate proto Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -52,6 +52,7 @@ func CreateRenderer(pathPrefix string, staticDir http.FileSystem, cookieName str
|
||||
tmplChangePasswordDone: "change_password_done.html",
|
||||
tmplRegister: "register.html",
|
||||
tmplLogoutDone: "logout_done.html",
|
||||
tmplRegisterOrg: "register_org.html",
|
||||
}
|
||||
funcs := map[string]interface{}{
|
||||
"resourceUrl": func(file string) string {
|
||||
@@ -108,6 +109,9 @@ func CreateRenderer(pathPrefix string, staticDir http.FileSystem, cookieName str
|
||||
"registrationUrl": func() string {
|
||||
return path.Join(r.pathPrefix, EndpointRegister)
|
||||
},
|
||||
"orgRegistrationUrl": func() string {
|
||||
return path.Join(r.pathPrefix, EndpointRegisterOrg)
|
||||
},
|
||||
"selectedLanguage": func(l string) bool {
|
||||
return false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user