Skip to content

Commit

Permalink
Image was saved in clientConfig, not authTypeConfig referencing the c…
Browse files Browse the repository at this point in the history
…orrect variable
  • Loading branch information
LorenzoJokhan committed Aug 25, 2023
1 parent 523259d commit b3782ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/verificationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports.sendVerification = async (user, client, redirectUrl, adminLoginRequest)
const authTypeConfig = clientConfig.authTypes && clientConfig.authTypes.Url ? clientConfig.authTypes.Url : {};
const emailTemplateString = authTypeConfig.emailTemplate ? authTypeConfig.emailTemplate : false;
const emailSubject = authTypeConfig.emailSubject ? authTypeConfig.emailSubject : 'Inloggen bij ' + client.name;
const emailHeaderImage = authTypeConfig.emailHeaderImage ? authTypeConfig.emailHeaderImage : false;
const emailHeaderImage = clientConfig.emailHeaderImage ? clientConfig.emailHeaderImage : false;
const transporterConfig = clientConfig.smtpTransport ? clientConfig.smtpTransport : {};

let emailLogo;
Expand Down

1 comment on commit b3782ec

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Published new image: openstad/auth:bugfix-emailHeaderImage-in-login-mail-fix-b3782ec

Please sign in to comment.