zitadel/internal/domain/policy_domain.go
Fabi 5c0f527a49
feat: restrict smtp sender address (#3637)
* fix: check if sender address is custom domain

* fix: check if sender address is custom domain

* fix: check if sender address is custom domain

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-05-16 14:08:47 +00:00

15 lines
317 B
Go

package domain
import (
"github.com/zitadel/zitadel/internal/eventstore/v1/models"
)
type DomainPolicy struct {
models.ObjectRoot
UserLoginMustBeDomain bool
ValidateOrgDomains bool
SMTPSenderAddressMatchesInstanceDomain bool
Default bool
}