[dd-admin] Fix email schemas in certain API endpoints
Dot character was not being properly escaped, we switch to using bracket expressions to avoid possible future issues.mejoras_instalacion
parent
d2fb24379a
commit
895a20abba
|
@ -26,7 +26,7 @@ name:
|
|||
email:
|
||||
type: string
|
||||
required: true
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||
inbound_host:
|
||||
type: string
|
||||
required: true
|
||||
|
@ -50,4 +50,4 @@ outbound_ssl_mode:
|
|||
default: ssl
|
||||
outbound_user:
|
||||
type: string
|
||||
required: true
|
||||
required: true
|
||||
|
|
|
@ -29,7 +29,7 @@ mails:
|
|||
email:
|
||||
type: string
|
||||
required: true
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||
inbound_host:
|
||||
type: string
|
||||
required: true
|
||||
|
@ -53,4 +53,4 @@ mails:
|
|||
default: ssl
|
||||
outbound_user:
|
||||
type: string
|
||||
required: true
|
||||
required: true
|
||||
|
|
|
@ -29,7 +29,7 @@ last:
|
|||
email:
|
||||
required: true
|
||||
type: string
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||
password:
|
||||
required: true
|
||||
type: string
|
||||
|
|
|
@ -26,7 +26,7 @@ last:
|
|||
email:
|
||||
required: false
|
||||
type: string
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$
|
||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||
password:
|
||||
required: false
|
||||
type: string
|
||||
|
|
Loading…
Reference in New Issue