fix(notifications): set default SMTP encryption value to prevent false validation error (#9543)
This commit is contained in:
parent
e77e0761db
commit
13a1f86b5b
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Email extends Component
|
|||
public ?string $smtpPort = null;
|
||||
|
||||
#[Validate(['nullable', 'string', 'in:starttls,tls,none'])]
|
||||
public ?string $smtpEncryption = null;
|
||||
public ?string $smtpEncryption = 'starttls';
|
||||
|
||||
#[Validate(['nullable', 'string'])]
|
||||
public ?string $smtpUsername = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue