1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-23 17:07:42 +01:00

smtp env config

This commit is contained in:
Kyle Spearrin 2017-08-21 16:44:46 -04:00
parent da9cdd9257
commit e79e265ef0
2 changed files with 8 additions and 3 deletions

View File

@ -87,8 +87,8 @@ namespace Bit.Core
public class SmtpSettings
{
public string Host { get; set; }
public int Port { get; set; }
public bool Ssl { get; set; }
public int Port { get; set; } = 587;
public bool Ssl { get; set; } = true;
public string Username { get; set; }
public string Password { get; set; }
}

View File

@ -392,7 +392,12 @@ globalSettings__duo__aKey={Helpers.SecureRandomString(64, alpha: true, numeric:
globalSettings__installation__id={_installationId}
globalSettings__installation__key={_installationKey}
globalSettings__yubico__clientId=REPLACE
globalSettings__yubico__key=REPLACE");
globalSettings__yubico__key=REPLACE
globalSettings__mail__smtp__host=REPLACE
globalSettings__mail__smtp__username=REPLACE
globalSettings__mail__smtp__password=REPLACE
globalSettings__mail__smtp__ssl=true
globalSettings__mail__smtp__port=587");
if(!_push)
{