Fix a couple typos (#1049)

* Fix typo should be smtp.gmail.com

* Basic auth should say Radarr not Sonarr
This commit is contained in:
Greg Fitzgerald 2017-03-06 23:02:17 -05:00 committed by Devin Buhl
commit c7fcfe04be
2 changed files with 3 additions and 3 deletions

View file

@ -33,12 +33,12 @@ namespace NzbDrone.Api.Authentication
{ {
if (_configFileProvider.AuthenticationMethod == AuthenticationType.Forms) if (_configFileProvider.AuthenticationMethod == AuthenticationType.Forms)
{ {
RegisterFormsAuth(pipelines); RegisterFormsAuth(pipelines);
} }
else if (_configFileProvider.AuthenticationMethod == AuthenticationType.Basic) else if (_configFileProvider.AuthenticationMethod == AuthenticationType.Basic)
{ {
pipelines.EnableBasicAuthentication(new BasicAuthenticationConfiguration(_authenticationService, "Sonarr")); pipelines.EnableBasicAuthentication(new BasicAuthenticationConfiguration(_authenticationService, "Radarr"));
} }
pipelines.BeforeRequest.AddItemToEndOfPipeline((Func<NancyContext, Response>) RequiresAuthentication); pipelines.BeforeRequest.AddItemToEndOfPipeline((Func<NancyContext, Response>) RequiresAuthentication);

View file

@ -22,7 +22,7 @@ namespace NzbDrone.Core.Notifications.Email
public EmailSettings() public EmailSettings()
{ {
Server = "stmp.google.com"; Server = "smtp.google.com";
Port = 587; Port = 587;
Ssl = true; Ssl = true;
} }