Update Config for SMTP Requirement (#424)

This commit is contained in:
DrMxrcy 2023-05-02 16:13:00 -04:00 committed by GitHub
parent a9bd2434ff
commit b2d5426ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
"exposable": true, "exposable": true,
"force_expose": true, "force_expose": true,
"id": "gotosocial", "id": "gotosocial",
"tipi_version": 1, "tipi_version": 2,
"version": "0.8.1", "version": "0.8.1",
"categories": ["social"], "categories": ["social"],
"description": "Fast, fun, ActivityPub server, powered by Go.", "description": "Fast, fun, ActivityPub server, powered by Go.",
@ -34,39 +34,35 @@
"type": "text", "type": "text",
"label": "SMTP Host", "label": "SMTP Host",
"hint": "Your SMTP Server", "hint": "Your SMTP Server",
"placeholder": "smtp.example.com", "required": false,
"required": true,
"env_variable": "GTS_SMTP_HOST" "env_variable": "GTS_SMTP_HOST"
}, },
{ {
"type": "text", "type": "text",
"label": "SMTP Port", "label": "SMTP Port",
"hint": "Your SMTP Port", "hint": "Your SMTP Port",
"placeholder": "25", "required": false,
"required": true,
"env_variable": "GTS_SMTP_PORT" "env_variable": "GTS_SMTP_PORT"
}, },
{ {
"type": "text", "type": "text",
"label": "SMTP Username", "label": "SMTP Username",
"hint": "Your SMTP Server User/Username", "hint": "Your SMTP Server User/Username",
"placeholder": "noreply@example.com", "required": false,
"required": true,
"env_variable": "GTS_SMTP_USERNAME" "env_variable": "GTS_SMTP_USERNAME"
}, },
{ {
"type": "text", "type": "text",
"label": "SMTP Password", "label": "SMTP Password",
"hint": "Your SMTP Server Password", "hint": "Your SMTP Server Password",
"required": true, "required": false,
"env_variable": "GTS_SMTP_PASSWORD" "env_variable": "GTS_SMTP_PASSWORD"
}, },
{ {
"type": "text", "type": "text",
"label": "SMTP From Address", "label": "SMTP From Address",
"hint": "Make sure the Format is like noreply@example.com", "hint": "Make sure the Format is like noreply@example.com",
"placeholder": "noreply@example.com", "required": false,
"required": true,
"env_variable": "GTS_SMTP_FROM" "env_variable": "GTS_SMTP_FROM"
} }
] ]