[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2024-05-01 18:11:07 +02:00
الأصل 626be62eeb
التزام f8dd04e636

عرض الملف

@@ -324,8 +324,10 @@ function startServer() {
// Route to display user information
app.get('/profile', OIDCAuth, (req, res) => {
const user = OIDC.enabled ? req.oidc.user : { message: 'Profile not found!' };
res.json(user); // Send user information as JSON
if (OIDC.enabled) {
return res.json(req.oidc.user); // Send user information as JSON
}
res.sendFile(views.notFound);
});
// Authentication Callback Route