Added endpoint to update presentationInfos and added these info to the get
This commit is contained in:
@@ -24,7 +24,7 @@ public class GoogleUserInfo
|
||||
[JsonPropertyName("verified_email")] public required bool VerifiedEmail { get; init; }
|
||||
[JsonPropertyName("name")] public required string Name { get; init; }
|
||||
[JsonPropertyName("given_name")] public required string GivenName { get; init; }
|
||||
[JsonPropertyName("family_name")] public required string FamilyName { get; init; }
|
||||
[JsonPropertyName("family_name")] public string FamilyName { get; init; } = string.Empty;
|
||||
[JsonPropertyName("picture")] public required string Picture { get; init; }
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public class LoginWithGoogleHandler(
|
||||
|
||||
if (user is null)
|
||||
{
|
||||
var generatedPassword = PasswordGenerator.GeneratePassword(8, 10);
|
||||
var generatedPassword = PasswordGenerator.GeneratePassword(10, 12);
|
||||
var generatedUser = new ApplicationUser
|
||||
{
|
||||
UserName = userInfo.Email,
|
||||
|
||||
Reference in New Issue
Block a user