From 77e4d90589b2410b134e98b362db68624c0fb8aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Tue, 7 Mar 2023 15:40:58 +0100 Subject: [PATCH] Fix email setup Since whenever gomail doesn't like credentials when they're not going to be used: Failed to send a testing email to 'reynir@reynir.dk': gomail: could not send email 1: SMTP server does not support AUTH, but credentials provided --- roles/docker/tasks/services/gitea.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/docker/tasks/services/gitea.yml b/roles/docker/tasks/services/gitea.yml index e0234b8b..95f65e2b 100644 --- a/roles/docker/tasks/services/gitea.yml +++ b/roles/docker/tasks/services/gitea.yml @@ -29,8 +29,6 @@ GITEA__mailer__FROM: "noreply@{{ services.gitea.domain }}" GITEA__mailer__MAILER_TYPE: "smtp" GITEA__mailer__HOST: "{{ smtp_host }}:{{ smtp_port }}" - GITEA__mailer__USER: "noop" - GITEA__mailer__PASSWD: "noop" GITEA__security__LOGIN_REMEMBER_DAYS: "60" GITEA__security__PASSWORD_COMPLEXITY: "off" GITEA__security__MIN_PASSWORD_LENGTH: "8"