Skip to content

Commit

Permalink
Fixing build on 6.0-preview7 (#10038)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Aug 5, 2021
1 parent 8cfce5c commit 0b07123
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/OrchardCore.Build/OrchardCore.Commons.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<VersionPrefix>1.1.0</VersionPrefix>
<VersionSuffix>preview</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<!-- Razor does not support LangVersion 9 on ASP.NET Core 3 -->
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ public async Task<IActionResult> RegisterExternalLogin(RegisterExternalLoginView

if (settings.UsersCanRegister == UserRegistrationType.NoRegistration)
{
_logger.LogWarning("Site does not allow user registration.", model.UserName, model.Email);
_logger.LogWarning("Site does not allow user registration.");
return NotFound();
}

Expand Down

0 comments on commit 0b07123

Please sign in to comment.