On 12/31/2009 01:00 PM, Gerritjan Koekkoek wrote: > I've migrated a application from xwiki 1.7 to xwiki 2.1.1 > The process i've executed is started with a clean distribution of xwiki2.0 > If configured the wiki to multi language and that registration is required > Use of email verificatiion to "Yes" > Check Active fields for authentication to "Yes" > I've manually copied the scripts of welcome and confirmation to the > Validation e-mail content and Confirmation e-mail content > > After that i've exported the wiki and importing the XAR; making sure I did > not overwrite any document in XWiki space. > Testing the registration gives the following result (we use gmail as SMTP > service) > User registers and receives the request for validation; result OK > User clicks on the link to activate the account > The website shows up OK > but the validation fails with message; > "There was a problem validationg your account, please contact a administrator" > The link in the email is the following; > http://cdlsworld.devxwiki.com/xwiki/bin/view/XWiki/AccountValidation?validkey=77Qvbyu69MSjI2Rg&xwikiname=AnneKoekkoek > > Since i'm hosting the site at XWIKI.com i have no access to the file system > to check if the key is as expected from xwiki.cfg file > > How to solve; help greatly appreciated
Just tried to register a new account, and noticed that the activation key is stored as a hash in the database, although it is expected to be plain text in the code. This means that the XWikiUsers class must be changed so that the Validation Key property has PlainText storage type. This means that all users who tried to register while this hash was active will have to re-register with a different account. This should be fixed on our side too, so that the validation code also works with hashed keys. That particular user (AnneKoekkoek) seems to be activated already (try logging in), but the activation key in the object is different than the one from the mail. This means that somewhere a different key was generated. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
