1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Patches for email and branding removal

This commit is contained in:
Limezy 2022-02-20 01:10:42 +07:00
parent 6a2e19bf08
commit 982dc654b4
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,14 @@
diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx
index 690fb737..2573430b 100644
--- a/app/scenes/Document/components/Document.tsx
+++ b/app/scenes/Document/components/Document.tsx
@@ -635,9 +635,6 @@ class DocumentScene extends React.Component<Props> {
</Flex>
</React.Suspense>
</MaxWidth>
- {isShare && !isCustomDomain() && (
- <Branding href="//www.getoutline.com?ref=sharelink" />
- )}
</Container>
</Background>
{!isShare && (

View file

@ -0,0 +1,12 @@
diff --git a/server/mailer.tsx b/server/mailer.tsx
index 058e43f6..b7652b19 100644
--- a/server/mailer.tsx
+++ b/server/mailer.tsx
@@ -85,6 +85,7 @@ export class Mailer {
ciphers: process.env.SMTP_TLS_CIPHERS,
}
: undefined,
+ ignoreTLS:true
};
if (process.env.SMTP_USERNAME) {