Skip to content

Commit eb78737

Browse files
author
Byron Sommardahl
committed
More fixes to botched merge. I got in a hurry.
1 parent 9fe9604 commit eb78737

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

src/Nancy.Authentication.Stateless/Nancy.Authentication.Stateless.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
</ItemGroup>
4242
<ItemGroup>
4343
<Compile Include="StatelessAuthentication.cs" />
44-
<Compile Include="Properties\AssemblyInfo.cs" />
4544
<Compile Include="StatelessAuthenticationConfiguration.cs" />
4645
</ItemGroup>
4746
<ItemGroup>
@@ -50,6 +49,9 @@
5049
<Name>Nancy</Name>
5150
</ProjectReference>
5251
</ItemGroup>
52+
<ItemGroup>
53+
<Folder Include="Properties\" />
54+
</ItemGroup>
5355
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5456
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5557
Other similar extension points exist, see Microsoft.Common.targets.

src/Nancy.Authentication.Stateless/StatelessAuthentication.cs

+11-11
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ static Func<NancyContext, Response> GetLoadAuthenticationHook(StatelessAuthentic
4747
}
4848

4949
return context =>
50-
{
51-
try
52-
{
53-
context.CurrentUser = configuration.GetUserIdentity(context);
54-
return context.Response;
55-
}
56-
catch (Exception)
57-
{
58-
return context.Response;
59-
}
60-
};
50+
{
51+
try
52+
{
53+
context.CurrentUser = configuration.GetUserIdentity(context);
54+
return context.Response;
55+
}
56+
catch (Exception)
57+
{
58+
return context.Response;
59+
}
60+
};
6161
}
6262
}
6363
}

src/Nancy.Demo.Authentication.Stateless/Nancy.Demo.Authentication.Stateless.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<Reference Include="System.Xml" />
4141
</ItemGroup>
4242
<ItemGroup>
43-
<Compile Include="Properties\AssemblyInfo.cs" />
43+
<Folder Include="Properties\" />
4444
</ItemGroup>
4545
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
4646
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 commit comments

Comments
 (0)