This commit is contained in:
Skylar Grant 2024-09-12 14:24:15 -04:00
parent 81e05a1ecd
commit 95f0b9edc3
3 changed files with 12 additions and 3 deletions

View File

@ -51,9 +51,9 @@ module.exports = {
// Create the output text
const infoArray = [
'We have changed your password to a temporary password, shown below. Next time you log into Microsoft you will be prompted to change your password.\n',
'Password requirements:\n8+ characters\n1+ Uppercase\n1+ Lowercase\n1+ Special (!/_=.,?)\n',
'Temporary Password:',
`${password}\n`,
'Password requirements:\n8+ characters\n1+ Uppercase\n1+ Lowercase\n1+ Special (!/_=.,?)\n',
receiptFooter
];
return infoArray.join('\n');
@ -89,9 +89,10 @@ module.exports = {
doc.moveDown();
doc.moveDown();
doc.moveDown();
// Write the text from infoString
doc.fontSize(12).text(infoString, {
doc.fontSize(12)
doc.font('public/Outfit-Regular.ttf').text(infoString, {
align: 'left',
});

Binary file not shown.

View File

@ -0,0 +1,8 @@
@font-face {
font-family: Outfit;
src: url('Outfit-Regular.ttf');
}
body{
font-family: 'Outfit';
}