Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24127

The account activation key is not displayed as standalone in the registration email

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 16.10.1
    • User
    • Windows 11 Pro, Edge 145, using an instance of XWiki 17.10.4 on PostgreSQL 17, Tomcat 11
    • Unknown

    Description

      Steps to reproduce

      1. Configure the Mail Sending section from Administration to be able to send emails
      2. Go to Administer Wiki > Users & Rights > Registration
      3. Set 'Use Email Verification' to Yes and 'Save'
      4. Logout
      5. Click 'Register'
      6. Fill in the details for a new user and an email address
      7. Click 'Register'
      8. Click 'Log-in'
      9. Observe the email received by the user

      Expected results

      Since after clicking 'Log-in', the user lands on a page with a Validation Key input field and a 'Confirm account' button, a validation code is expected to be present in the email received.

      Also, just above the Validation Key input field it says:

      You can also copy-paste the activation code in the same email in the following field.

      Actual results

      The activation key is not displayed standalone in the email received, but it's only part of the registration link:
      <server>/xwiki/bin/view/XWiki/AccountValidation?validkey=RWqtLNYGy57kGCqQ&xwikiname=U5

      We should display the validation code in standalone mode in the email body and inform the user that the account activation can be made by accessing the link or by pasting the activation key in the Validation Key input field on the wiki page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: