server: Remove trailing / from the domain URL

This commit is contained in:
Valentin Tolmer authored and nitnelave committed 2023-02-15 14:43:26 +01:00
1 parent 3650a438df
commit 193a0fd710
1 file changed
+3 -1
+3 -1
View File
@@ -65,7 +65,9 @@ compromised. You should reset your password and contact an administrator.
To reset your password please visit the following URL: {}/reset-password/step2/{}
Please contact an administrator if you did not initiate the process.",
username, domain, token
username,
domain.trim_end_matches('/'),
token
);
send_email(to, "[LLDAP] Password reset requested", body, options).await
}