Hi,
I want to require users to register and verify for an existing email
adress before being allowed to write comments - to prevent spam.
So, I set "Use email verification " to yes in the wiki registration
preferences.
But there are two problems:
1) the newly registered user can edit and write comments without
properly verifying the email address.
2) The registration mail is not correctly showing the link to
registration. It seems to show the plain velocity template, like this:
Subjec: Validate your account on $wikiname
Hello my user,
This email address was used to register a new account on ${wikiname}.
If you did not make the request, please ignore this message.
In order to activate your account, please follow this link:
$xwiki.getDocument("XWiki.AccountValidation").getExternalURL("view",
"validkey=${validkey}&xwikiname=${xwikiname}")
Any idea what I could be doing wrong?
--
Henning Sprang
http://www.sprang.de |
http://lazyb0y.blogspot.com/