mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 02:37:26 +08:00
fix: 🎨 migrate from / to /confirm for email confirmation
This commit is contained in:
@@ -76,7 +76,7 @@ class EmailService(
|
||||
.withSubject("Confirm Your Email Address for AquaNet")
|
||||
.withHTMLText(confirmTemplate
|
||||
.replace("{{name}}", user.computedName)
|
||||
.replace("{{url}}", "https://${props.webHost}?confirm-email=$token"))
|
||||
.replace("{{url}}", "https://${props.webHost}/confirm?confirm-email=$token"))
|
||||
.buildEmail()).thenRun { log.info("Confirmation email sent to ${user.email}") }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user