Mistake.
parent
263cdb7430
commit
e148c8d2a0
|
|
@ -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
|
||||||
}));
|
}));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue