Доработана QR авторизация

This commit is contained in:
FrigaT
2026-04-20 16:06:47 +03:00
parent 12241639dc
commit 9c95e6b189
11 changed files with 784 additions and 45 deletions

View File

@@ -131,6 +131,12 @@ public class ApplicationDbContext : IdentityDbContext<ApplicationUser, IdentityR
entity.Property(e => e.CsfrToken)
.HasMaxLength(200)
.IsRequired(false);
entity.Property(e => e.HeaderCsfrToken)
.HasMaxLength(200)
.IsRequired(false);
entity.Property(e => e.HeaderProcessId)
.HasMaxLength(200)
.IsRequired(false);
entity.HasIndex(e => e.UserId)
.HasDatabaseName("IX_YandexAuthSessions_UserId");
});