Mistake.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
export default (data) =>
|
function httpHelper(data)
|
||||||
{
|
{
|
||||||
const html = `<!DOCTYPE html>
|
const html = `<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
@@ -18,4 +18,6 @@ export default (data) =>
|
|||||||
</html>`;
|
</html>`;
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
module.exports = httpHelper;
|
||||||
@@ -299,6 +299,7 @@ async function setupAuth(oidcIssuer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
res.send(httpHelper({
|
res.send(httpHelper({
|
||||||
|
success : true,
|
||||||
displayName : displayName,
|
displayName : displayName,
|
||||||
picture : photo
|
picture : photo
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user