Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrFlick72 committed Jun 23, 2024
1 parent 03456c9 commit 71371b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion communication/default/mail/email-verify-challenge.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<body>

Hi {{ firstName }} {{ lastName }} your registration has been completed.</br>
Please click <a href="{{ verificationMailLink }}">hear to activate your user</a>
Please click <a href="{{ verificationEMailLink }}">hear to activate your user</a>

</body>
</html>
4 changes: 2 additions & 2 deletions local-environment/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ event:
enable:
logger-event-consumer: true

no-reply:
mail:
no-reply: #todo update helm chart too
email:
from: "[email protected]"
welcomeMailSubject: "welcome mail"
verificationMailSubject: "verification mail"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import com.vauthenticator.server.oauth2.clientapp.ClientAppId
class SendResetPasswordMailChallenge(
private val accountRepository: AccountRepository,
private val ticketFactory: VerificationTicketFactory,
private val EMailSenderService: EMailSenderService,
private val emailSenderService: EMailSenderService,
private val frontChannelBaseUrl: String
) {

fun sendResetPasswordMailFor(email: String) {
accountRepository.accountFor(username = email)
.map {
val ticket = ticketFactory.createTicketFor(it, ClientAppId.empty())
EMailSenderService.sendFor(
emailSenderService.sendFor(
account = it,
mapOf("resetPasswordLink" to "$frontChannelBaseUrl/reset-password/${ticket.content}")
)
Expand Down

0 comments on commit 71371b2

Please sign in to comment.