Ура нашел пароли приложений

This commit is contained in:
Алексей Тихоненков 2024-05-09 00:59:59 +04:00
parent 719dae666f
commit 28fb55c1de
3 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,8 @@ namespace CarpentryWorkshopDatabaseImplement
optionsBuilder.UseNpgsql(@"Host=localhost;Port=5432;Database=CarpentryWorkshopDatabaseLab51;Username=postgres;Password=postgres");
}
base.OnConfiguring(optionsBuilder);
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true);
}
public virtual DbSet<Component> Components { set; get; }
public virtual DbSet<Wood> Woods { set; get; }

View File

@ -12,5 +12,5 @@
"PopHost": "pop.gmail.com",
"PopPort": "995",
"MailLogin": "mailworker2024@gmail.com",
"MailPassword": "lab7zxcqwe"
"MailPassword": "bixb rbag kumt lefa"
}

View File

@ -6,6 +6,6 @@
<add key="PopHost" value="pop.gmail.com" />
<add key="PopPort" value="995" />
<add key="MailLogin" value="mailworker2024@gmail.com" />
<add key="MailPassword" value="lab7zxcqwe" />
<add key="MailPassword" value="bixb rbag kumt lefa" />
</appSettings>
</configuration>