[MM-51236] - Add opt-in checkbox in self-hosted account creation page (#22709)

* [MM-51236] - Add opt-in checkbox in self-hosted account creation page

* add server impl

* fix lint and translations

* add tests

* improvents

* fix model

* fix mocks

* feedback impl

* update text color

* handle error

* fix tests
Этот коммит содержится в:
Allan Guwatudde
2023-04-04 13:57:32 +03:00
коммит произвёл GitHub
родитель bbadbfde45
Коммит ed36e8bd64
15 изменённых файлов: 304 добавлений и 6 удалений

Просмотреть файл

@@ -8,6 +8,12 @@ type BootstrapSelfHostedSignupRequest struct {
Reset bool `json:"reset"`
}
type SubscribeNewsletterRequest struct {
Email string `json:"email"`
ServerID string `json:"server_id"`
SubscribedContent string `json:"subscribed_content"`
}
type BootstrapSelfHostedSignupResponse struct {
Progress string `json:"progress"`
// email listed on the JWT claim