This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user