This commit is contained in:
2018-07-19 19:21:01 +00:00
parent ff6434f905
commit 10ded2681f
4 changed files with 54 additions and 4 deletions

View File

@@ -39,7 +39,13 @@ namespace rockfishCore
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<rockfishContext>(options => options.UseSqlite(Configuration.GetConnectionString("rfdb")));
services.AddDbContext<rockfishContext>(
options => {
options.UseSqlite(Configuration.GetConnectionString("rfdb"));
options.EnableSensitiveDataLogging(false);
}
);
//Added this so that can access configuration from anywhere else
//See authcontroller for usage