bugs fixed

This commit is contained in:
daniel31x13
2023-12-30 09:31:53 -05:00
parent eee6a807da
commit 055869883a
4 changed files with 10 additions and 8 deletions
+4 -2
View File
@@ -249,7 +249,8 @@ if (process.env.NEXT_PUBLIC_AUTHENTIK_ENABLED === "true") {
profile: (profile) => {
return {
id: profile.sub,
name: profile.name ?? profile.preferred_username,
username: profile.preferred_username,
name: profile.name || "",
email: profile.email,
image: profile.picture,
};
@@ -589,7 +590,8 @@ if (process.env.NEXT_PUBLIC_KEYCLOAK_ENABLED === "true") {
profile: (profile) => {
return {
id: profile.sub,
name: profile.name ?? profile.preferred_username,
username: profile.preferred_username,
name: profile.name || "",
email: profile.email,
image: profile.picture,
};