Skip to content

Commit

Permalink
Enable scope validation for issue #72
Browse files Browse the repository at this point in the history
  • Loading branch information
fubar-coder committed Jun 25, 2019
1 parent efb24a9 commit 2b9d8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/QuickStart/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static async Task Main()
services.Configure<FtpServerOptions>(opt => opt.ServerAddress = "*");

// Build the service provider
using (var serviceProvider = services.BuildServiceProvider())
using (var serviceProvider = services.BuildServiceProvider(true))
{
// Initialize the FTP server
var ftpServerHost = serviceProvider.GetRequiredService<IFtpServerHost>();
Expand Down

0 comments on commit 2b9d8fe

Please sign in to comment.