фиксы
This commit is contained in:
		| @@ -52,12 +52,12 @@ builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) | |||||||
|             // валидация ключа безопасности |             // валидация ключа безопасности | ||||||
|             ValidateIssuerSigningKey = true, |             ValidateIssuerSigningKey = true, | ||||||
|          }; |          }; | ||||||
|     }) |     }); | ||||||
| .AddGoogle(googleOptions => | // .AddGoogle(googleOptions => | ||||||
| { | // { | ||||||
|     googleOptions.ClientId = configuration["Authentication:Google:ClientId"] ?? throw new NullReferenceException(""); | //     googleOptions.ClientId = configuration["Authentication:Google:ClientId"] ?? throw new NullReferenceException(""); | ||||||
|     googleOptions.ClientSecret = configuration["Authentication:Google:ClientSecret"] ?? throw new NullReferenceException(""); | //     googleOptions.ClientSecret = configuration["Authentication:Google:ClientSecret"] ?? throw new NullReferenceException(""); | ||||||
| }); | // }); | ||||||
|  |  | ||||||
| // builder.Services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true) | // builder.Services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true) | ||||||
| //     .AddEntityFrameworkStores<ApplicationContext>(); | //     .AddEntityFrameworkStores<ApplicationContext>(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user