Verified Commit f12a516b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3440975 by kunal.sachdev, phenaproxima: Add validation constraints to system.mail

(cherry picked from commit 93682028)
parent 18e1178d
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -370,6 +370,8 @@ system.image.gd:
system.mail:
  type: config_object
  label: 'Mail system'
  constraints:
    FullyValidatable: ~
  mapping:
    interface:
      type: sequence
@@ -401,10 +403,16 @@ system.mail:
          type: string
          nullable: true
          label: 'User'
          constraints:
            NotBlank:
              allowNull: true
        password:
          type: string
          nullable: true
          label: 'Password'
          constraints:
            NotBlank:
              allowNull: true
        port:
          type: integer
          nullable: true