Return the payload of the session in oidc and not the session object

This commit is contained in:
Johannes Zellner
2025-05-19 10:56:00 +02:00
parent ce571bad81
commit cf210c5a5a
+1 -1
View File
@@ -371,7 +371,7 @@ class CloudronAdapter {
if (!user || !user.active) return null;
}
return session;
return session.payload;
} else {
if (!DATA_STORE[this.name][id]) return null;
return DATA_STORE[this.name][id].payload;