master
Håvar Aambø Fosstveit 2019-10-24 09:40:35 +02:00
parent 263cdb7430
commit e148c8d2a0
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
export default (data) =>
function httpHelper(data)
{
const html = `<!DOCTYPE html>
<html>
@ -18,4 +18,6 @@ export default (data) =>
</html>`;
return html;
};
}
module.exports = httpHelper;

View File

@ -299,6 +299,7 @@ async function setupAuth(oidcIssuer)
}
res.send(httpHelper({
success : true,
displayName : displayName,
picture : photo
}));