mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/mail-backup: fix model save
This commit is contained in:
+28
-7
@@ -8,21 +8,42 @@
|
||||
<Required>Y</Required>
|
||||
</Enabled>
|
||||
<Receiver type="EmailField">
|
||||
<Required>Y</Required>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<type>DependConstraint</type>
|
||||
<addFields>
|
||||
<field1>enabled</field1>
|
||||
</addFields>
|
||||
</check001>
|
||||
</Constraints>
|
||||
</Receiver>
|
||||
<SmtpHost type="HostnameField">
|
||||
<Required>Y</Required>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<type>DependConstraint</type>
|
||||
<addFields>
|
||||
<field1>enabled</field1>
|
||||
</addFields>
|
||||
</check001>
|
||||
</Constraints>
|
||||
</SmtpHost>
|
||||
<SmtpPort type="IntegerField">
|
||||
<Required>Y</Required>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<type>DependConstraint</type>
|
||||
<addFields>
|
||||
<field1>enabled</field1>
|
||||
</addFields>
|
||||
</check001>
|
||||
</Constraints>
|
||||
</SmtpPort>
|
||||
<SmtpTLS type="BooleanField">
|
||||
<default>1</default>
|
||||
<Required>Y</Required>
|
||||
</SmtpTLS>
|
||||
<SmtpUsername type="TextField" />
|
||||
<SmtpPassword type="TextField" />
|
||||
<GpgEmail type="EmailField" />
|
||||
<GpgPublicKey type="TextField" />
|
||||
<SmtpUsername type="TextField"/>
|
||||
<SmtpPassword type="TextField"/>
|
||||
<GpgEmail type="EmailField"/>
|
||||
<GpgPublicKey type="TextField"/>
|
||||
</items>
|
||||
</model>
|
||||
|
||||
Reference in New Issue
Block a user